Completed
Push — master ( 2760df...c42cfb )
by ARCANEDEV
13s
created

src/Providers/RouteServiceProvider.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php namespace Arcanesoft\Core\Providers;
2
3
use Arcanesoft\Core\Bases\RouteServiceProvider as ServiceProvider;
4
use Arcanesoft\Core\Http\Middleware;
5
use Illuminate\Contracts\Routing\Registrar as Router;
6
7
/**
8
 * Class     RouteServiceProvider
9
 *
10
 * @package  Arcanesoft\Core\Providers
11
 * @author   ARCANEDEV <[email protected]>
12
 */
13
class RouteServiceProvider extends ServiceProvider
14
{
15
    /* -----------------------------------------------------------------
16
     |  Properties
17
     | -----------------------------------------------------------------
18
     */
19
20
    /**
21
     * The application's route middleware.
22
     *
23
     * These middleware may be assigned to groups or used individually.
24
     *
25
     * @var array
26
     */
27
    protected $routeMiddleware = [
28
        'admin' => Middleware\CheckAdministrators::class,
29
    ];
30
31
    /* -----------------------------------------------------------------
32
     |  Main Methods
33
     | -----------------------------------------------------------------
34
     */
35
36
    /**
37
     * Define the routes for the application.
38
     *
39
     * @param  \Illuminate\Contracts\Routing\Registrar  $router
40
     */
41 106
    public function map(Router $router)
0 ignored issues
show
The parameter $router is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
42
    {
43
        //
44 106
    }
45
}
46