Skip to content

Commit

Permalink
ENH Don't use keyword "self" (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jul 29, 2024
1 parent cf787b0 commit 401277c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shortcodes/ImageShortcodeProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static function handle_shortcode($args, $content, $parser, $shortcode, $e
}

// We're calling renderWith() with an explicit template in case someone wants to use a custom template
$markup = $manipulatedRecord->renderWith(self::class . '_Image');
$markup = $manipulatedRecord->renderWith(ImageShortcodeProvider::class . '_Image');

// cache it for future reference
if ($fileFound) {
Expand Down

0 comments on commit 401277c

Please sign in to comment.