Skip to content

Commit 713c869

Browse files
authored
Merge pull request #9288 from samsonasik/refactor-remove-cast-is-array
refactor: remove unused (array) cast on array
2 parents 27ae8bb + 978ca3d commit 713c869

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)