Skip to content

Commit

Permalink
refactor: remove unused (array) cast on array
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 21, 2024
1 parent 9b6de62 commit 978ca3d
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 978ca3d

Please sign in to comment.