Skip to content

Commit 721d7c2

Browse files
authored
Merge pull request #60 from paladox/patch-1
Fix "Deprecated: Non-static method EmbedSnap::renderEmbedSnap()"
2 parents 483b64d + 9f43fe5 commit 721d7c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/EmbedSnap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function onParserFirstCallInit( $parser ) {
3131
}
3232

3333
/** Function to render the iframes for the <snap> tags */
34-
public function renderEmbedSnap( $input, $argv, $parser ) {
34+
public static function renderEmbedSnap( $input, $argv, $parser ) {
3535
$project = '';
3636
$user = '';
3737
$width = $width_max = 930;

0 commit comments

Comments
 (0)