We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | protected function getEnvironmentSetUp($app) |
||
42 | { |
||
43 | $app['config']->set('database.default', 'testing'); |
||
44 | $app['config']->set('backpack.base.route_prefix', 'admin'); |
||
45 | |||
46 | $app->bind('App\Http\Middleware\CheckIfAdmin', function () { |
||
47 | return new class |
||
48 | { |
||
49 | public function handle($request, $next) |
||
50 | { |
||
51 | return $next($request); |
||
52 | } |
||
57 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.