We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.1.14
Local PHP
macOS
No intellisense is given for any of $this->app methods.
$this->app
<?php declare(strict_types=1); namespace App\Providers; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot(): void { Model::shouldBeStrict(! $this->app->isProduction()); } }
When vscode-intelephense enabled, it throws Undefined method 'isProduction'.intelephense(P1013)
Undefined method 'isProduction'.intelephense(P1013)
public function boot(): void { /** @var \Illuminate\Foundation\Application $app */ $app = $this->app; Model::shouldBeStrict(! $app->isProduction()); }
The text was updated successfully, but these errors were encountered:
joetannenbaum
No branches or pull requests
Extension Version
0.1.14
PHP Binary
Local PHP
Operating System
macOS
What happened?
No intellisense is given for any of
$this->app
methods.When vscode-intelephense enabled, it throws
Undefined method 'isProduction'.intelephense(P1013)
Workaround:
The text was updated successfully, but these errors were encountered: