diff --git a/src/helper/Arr.php b/src/helper/Arr.php index 78c2f38..0cb20b6 100644 --- a/src/helper/Arr.php +++ b/src/helper/Arr.php @@ -383,7 +383,7 @@ public static function pluck($array, $value, $key = null) { $results = []; - [$value, $key] = static::explodePluckParameters($value, $key); + list($value, $key) = static::explodePluckParameters($value, $key); foreach ($array as $item) { $itemValue = data_get($item, $value);