diff --git a/README.md b/README.md index 5cb9e45..3cd5e26 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If for some reason you want manually control this: ```php public function register() { - if ($this->app->environment() !== 'production') { + if ($this->app->isLocal()) { $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); } // ...