When working with Laravel there's a few instances of Call to unknown method that can be a bit annoying.
For example, calling $this->app->isProduction() in app/Providers/AppServiceProvider.php gives:
Call to unknown method: Illuminate\Contracts\Foundation\Application::isProduction()PHP(PHP0418)
Same with any $this-> calls inside tests/ when using Pest, for example $this->assertAuthenticated(); or any other call.
Would love for these instances to get fixed.