File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ protected function carry()
60
60
return function ($ passable ) use ($ stack , $ pipe ) {
61
61
try {
62
62
if (is_callable ($ pipe )) {
63
- // If the pipe is an instance of a Closure, we will just call it directly but
64
- // otherwise we'll resolve the pipes out of the container and call it with
63
+ // If the pipe is a callable, then we will call it directly, but otherwise we
64
+ // will resolve the pipes out of the dependency container and call it with
65
65
// the appropriate method and arguments, returning the results back out.
66
66
return $ pipe ($ passable , $ stack );
67
67
} elseif (! is_object ($ pipe )) {
@@ -85,8 +85,8 @@ protected function carry()
85
85
}
86
86
87
87
$ carry = method_exists ($ pipe , $ this ->method )
88
- ? $ pipe ->{$ this ->method }(...$ parameters )
89
- : $ pipe (...$ parameters );
88
+ ? $ pipe ->{$ this ->method }(...$ parameters )
89
+ : $ pipe (...$ parameters );
90
90
91
91
return $ this ->handleCarry ($ carry );
92
92
} catch (Exception $ e ) {
You can’t perform that action at this time.
0 commit comments