Skip to content

Commit 35a7883

Browse files
committed
remove changes
1 parent 5506165 commit 35a7883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Console/Scheduling/Event.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -812,12 +812,12 @@ public function onFailureWithOutput(Closure $callback, $onlyIfOutputExists = fal
812812
*/
813813
protected function withOutputCallback(Closure $callback, $onlyIfOutputExists = false)
814814
{
815-
return function (Container $container) use ($callback, $onlyIfOutputExists) {
815+
return function () use ($callback, $onlyIfOutputExists) {
816816
$output = $this->output && file_exists($this->output) ? file_get_contents($this->output) : '';
817817

818818
return $onlyIfOutputExists && empty($output)
819819
? null
820-
: $container->call($callback, ['output' => $output]);
820+
: $callback($output);
821821
};
822822
}
823823

0 commit comments

Comments
 (0)