Skip to content

Commit

Permalink
Fix get_parent_class() use without arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Atanas Vasilev committed Jul 19, 2024
1 parent 637d700 commit 3081fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class Block extends Container {
* {@inheritDoc}
*/
public static function make() {
return call_user_func_array( array( get_parent_class(), 'make' ), array_merge( array( 'block' ), func_get_args() ) );
return call_user_func_array( array( parent::class, 'make' ), array_merge( array( 'block' ), func_get_args() ) );
}
}

0 comments on commit 3081fb2

Please sign in to comment.