Skip to content

Commit 2f9ed12

Browse files
committed
fix: PHP Compatibility fix
1 parent 951890a commit 2f9ed12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Request.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ final class Request {
1414
*/
1515
public static function clean( $input ) {
1616
return match ( true ) {
17-
\is_array( $input ) => \array_map( self::clean( ... ), $input ),
17+
\is_array( $input ) => \array_map( array( self::class, 'clean' ), $input ),
1818
\is_scalar( $input ) => \sanitize_text_field( $input ),
1919
default => $input,
2020
};

0 commit comments

Comments
 (0)