Skip to content

Commit 550bd47

Browse files
Merge branch '8.x' into master
2 parents 2cef193 + 2b1dfd5 commit 550bd47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ public function zip($items)
12761276
return new static(func_get_args());
12771277
}, $this->items], $arrayableItems);
12781278

1279-
return new static(call_user_func_array('array_map', $params));
1279+
return new static(array_map(...$params));
12801280
}
12811281

12821282
/**

Traits/EnumeratesValues.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function containsStrict($key, $value = null)
197197
*/
198198
public function dd(...$args)
199199
{
200-
call_user_func_array([$this, 'dump'], $args);
200+
$this->dump(...$args);
201201

202202
exit(1);
203203
}

0 commit comments

Comments
 (0)