Skip to content

Commit

Permalink
Merge pull request #9288 from samsonasik/refactor-remove-cast-is-array
Browse files Browse the repository at this point in the history
refactor: remove unused (array) cast on array
  • Loading branch information
samsonasik authored Nov 21, 2024
2 parents 27ae8bb + 978ca3d commit 713c869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Helpers/ArrayHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function testArraySortByMultipleKeysWithObjects(array $data, array $sortC
$success = array_sort_by_multiple_keys($data, $sortColumns);

$this->assertTrue($success);
$this->assertSame($expected, array_column((array) $data, 'name'));
$this->assertSame($expected, array_column($data, 'name'));
}

#[DataProvider('provideSortByMultipleKeys')]
Expand Down

0 comments on commit 713c869

Please sign in to comment.