F9/Providers/IlluminateServiceProvider.php
Avoid too many return
statements within this method. Open
Open
return new IlluminateDispatcher($app['illuminate.container']); };
Avoid too many return
statements within this method. Open
Open
return $app['illuminate.container'];});
Avoid too many return
statements within this method. Open
Open
return $this->container;
Avoid too many return
statements within this method. Open
Open
return new Filesystem(); };
Avoid too many return
statements within this method. Open
Open
return $app['filesystem'];});
Avoid too many return
statements within this method. Open
Open
return $this->container; };
Avoid too many return
statements within this method. Open
Open
return $app['composer'];});
Avoid unused local variables such as '$container'. Open
Open
$container = $this->container;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}