Skip to content

Commit 8545287

Browse files
committed
No type annotation to protect subclasses
1 parent 0f3d8cf commit 8545287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-block-scanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class WP_Block_Scanner {
220220
* @param string $source_text Input document potentially containing block content.
221221
* @return ?self Created block scanner, if successfully created.
222222
*/
223-
public static function create( string $source_text ): mixed {
223+
public static function create( string $source_text ) {
224224
return new self( $source_text );
225225
}
226226

0 commit comments

Comments
 (0)