Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 4, 2024
1 parent 8b3072e commit 6a76a0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Context/Support.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,10 @@ protected function check_that_json_string_contains_json_string( $actual_json, $e
protected function check_that_csv_string_contains_values( $actual_csv, $expected_csv ) {
$actual_csv = array_map(
static function ( $str ) {
return str_getcsv( $str, ',', '"', "\\" );
}, explode( PHP_EOL, $actual_csv ) );
return str_getcsv( $str, ',', '"', '\\' );
},
explode( PHP_EOL, $actual_csv )
);

if ( empty( $actual_csv ) ) {
return false;
Expand Down

0 comments on commit 6a76a0c

Please sign in to comment.