Skip to content

Commit 340d170

Browse files
committed
Merge branch '8.x'
# Conflicts: # src/Illuminate/Filesystem/FilesystemAdapter.php # src/Illuminate/Foundation/Application.php
2 parents 8a03a77 + d7cc717 commit 340d170

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ function last($array)
179179
* @param mixed $value
180180
* @return mixed
181181
*/
182-
function value($value)
182+
function value($value, ...$args)
183183
{
184-
return $value instanceof Closure ? $value() : $value;
184+
return $value instanceof Closure ? $value(...$args) : $value;
185185
}
186186
}

0 commit comments

Comments
 (0)