Core-PHP
Core-PHP copied to clipboard
method(Foo $foo) vs method(FooInterface $foo)
Find wrong type usages, where class name is used where interface is supposed to be, usually in method parameter type-hinting like here: public function __construct(Request $request, Router $router)