Skip to content

Commit f4ec9e4

Browse files
committed
Use of "self" in callables is deprecated
1 parent 1dd6600 commit f4ec9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static function __callStatic($tag, $arguments): self
4141
{
4242
array_unshift($arguments, $tag);
4343

44-
return call_user_func_array(['self', 'createElement'], $arguments);
44+
return call_user_func_array([Html::class, 'createElement'], $arguments);
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)