Skip to content

Commit

Permalink
chore: mark function as statically callable
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Feb 24, 2020
1 parent c6c222c commit 8c1b51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ColdTrick/TargetBlank/Javascript.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Javascript {
*
* @return array
*/
public function setLinkSuffix(\Elgg\Hook $hook) {
public static function setLinkSuffix(\Elgg\Hook $hook) {
$result = $hook->getValue();

$result['target_blank']['link_suffix'] = elgg_get_plugin_setting('link_suffix', 'target_blank');
Expand Down

0 comments on commit 8c1b51b

Please sign in to comment.