Skip to content

Commit

Permalink
Replace self:: with static:: for shortcode methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kinglozzer committed Jan 28, 2019
1 parent fad221b commit 785e9f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/View/Shortcodes/EmbedShortcodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ public static function embedForTemplate($embed, $arguments)
if (empty($arguments['width']) && $embed->getWidth()) {
$arguments['width'] = $embed->getWidth();
}
return self::videoEmbed($arguments, $embed->getCode());
return static::videoEmbed($arguments, $embed->getCode());
case 'link':
return self::linkEmbed($arguments, $embed->getUrl(), $embed->getTitle());
return static::linkEmbed($arguments, $embed->getUrl(), $embed->getTitle());
case 'photo':
return self::photoEmbed($arguments, $embed->getUrl());
return static::photoEmbed($arguments, $embed->getUrl());
default:
return null;
}
Expand Down

0 comments on commit 785e9f1

Please sign in to comment.