diff --git a/src/Illuminate/Console/View/Components/Component.php b/src/Illuminate/Console/View/Components/Component.php index 11d95bb8f621..89dd0f3381fd 100644 --- a/src/Illuminate/Console/View/Components/Component.php +++ b/src/Illuminate/Console/View/Components/Component.php @@ -83,10 +83,10 @@ protected function mutate($data, $mutators) foreach ($mutators as $mutator) { if (is_iterable($data)) { foreach ($data as $key => $value) { - $data[$key] = resolve($mutator)->__invoke($value); + $data[$key] = app($mutator)->__invoke($value); } } else { - $data = resolve($mutator)->__invoke($data); + $data = app($mutator)->__invoke($data); } }