Skip to content

Commit ee946f2

Browse files
dpanta94lucatume
andauthored
Update src/Schema/Traits/Custom_Table_Query_Methods.php
Co-authored-by: theAverageDev (Luca Tumedei) <luca@theaveragedev.com>
1 parent 4f879e7 commit ee946f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/Traits/Custom_Table_Query_Methods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ protected static function build_where_from_args( array $args = [] ): string {
554554
$columns = static::get_columns()->get_names();
555555

556556
$sub_wheres = self::build_sub_wheres_from_args(
557-
array_filter( $args,static fn( $arg ) => is_array( $arg ) ),
557+
array_filter( $args, 'is_array' ),
558558
$columns,
559559
$joined_prefix
560560
);

0 commit comments

Comments
 (0)