Skip to content

Instantly share code, notes, and snippets.

@sorbing
Created August 7, 2019 12:07
Show Gist options
  • Save sorbing/803274ff90b84a40af696c349a253469 to your computer and use it in GitHub Desktop.
Save sorbing/803274ff90b84a40af696c349a253469 to your computer and use it in GitHub Desktop.
$ php <my-laravel-zero-app> ide-helper:generate -M
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Support\Facades\Auth::guard()
at ./vendor/illuminate/support/Facades/Facade.php:237
233| if (! $instance) {
234| throw new RuntimeException('A facade root has not been set.');
235| }
236|
> 237| return $instance->$method(...$args);
238| }
239| }
240|
Exception trace:
1 Illuminate\Support\Facades\Facade::__callStatic("guard", [])
./vendor/barryvdh/laravel-ide-helper/src/Generator.php:135
2 Barryvdh\LaravelIdeHelper\Generator::detectDrivers()
./vendor/barryvdh/laravel-ide-helper/src/Generator.php:51
Please use the argument -v to see more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment