for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DrawMyAttention\ExpAuth;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\ServiceProvider;
class ExpressionEngineUserServiceProvider extends ServiceProvider{
public function boot()
{
Auth::extend('ExpressionEngineAuth', function($app)
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$model = $this->app['config']['auth.model'];
return new ExpressionEngineUserProvider($this->app['hash'], $model);
});
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
// TODO: Implement register() method.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.