diff --git a/tests/system/Helpers/ArrayHelperTest.php b/tests/system/Helpers/ArrayHelperTest.php index a7ed8ae8ec8a..77079d2a5a2b 100644 --- a/tests/system/Helpers/ArrayHelperTest.php +++ b/tests/system/Helpers/ArrayHelperTest.php @@ -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')]