Skip to content

Commit

Permalink
Merge pull request #8763 from kinglozzer/embed-tweak
Browse files Browse the repository at this point in the history
Replace self:: with static:: for shortcode methods
  • Loading branch information
robbieaverill authored Jan 28, 2019
2 parents fad221b + 785e9f1 commit 1b63610
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 1b63610

Please sign in to comment.