Skip to content

Commit 978ca3d

Browse files
committed
refactor: remove unused (array) cast on array
1 parent 9b6de62 commit 978ca3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Helpers/ArrayHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public function testArraySortByMultipleKeysWithObjects(array $data, array $sortC
268268
$success = array_sort_by_multiple_keys($data, $sortColumns);
269269

270270
$this->assertTrue($success);
271-
$this->assertSame($expected, array_column((array) $data, 'name'));
271+
$this->assertSame($expected, array_column($data, 'name'));
272272
}
273273

274274
#[DataProvider('provideSortByMultipleKeys')]

0 commit comments

Comments
 (0)