Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHPStan: Ignore "Dynamic call to static method" errors
The following route: Route::get('/', function(\Illuminate\Contracts\Filesystem\Filesystem $factory) { return $factory->download('foo.csv'); }); currently results in the following false-positive error: ------ ------------------------------------------------------------------------------------ Line routes/web.php ------ ------------------------------------------------------------------------------------ 22 Dynamic call to static method Illuminate\Filesystem\FilesystemAdapter::download(). ------ ------------------------------------------------------------------------------------ See phpstan/phpstan-strict-rules#140 See larastan/larastan#1272
- Loading branch information