GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 11-11 lines in 3 locations

src/Form/Element/File.php 1 location

@@ 26-36 (lines=11) @@
23
    /**
24
     * @param Router $router
25
     */
26
    public static function registerRoutes(Router $router)
27
    {
28
        $routeName = 'admin.form.element.'.static::$route;
29
30
        if (! $router->has($routeName)) {
31
            $router->post('{adminModel}/'.static::$route.'/{field}/{id?}', [
32
                'as'   => $routeName,
33
                'uses' => 'SleepingOwl\Admin\Http\Controllers\UploadController@fromField',
34
            ]);
35
        }
36
    }
37
38
    /**
39
     * @var string

src/Form/Element/SelectAjax.php 1 location

@@ 38-48 (lines=11) @@
35
    /**
36
     * @param Router $router
37
     */
38
    public static function registerRoutes(Router $router)
39
    {
40
        $routeName = 'admin.form.element.'.static::$route;
41
42
        if (! $router->has($routeName)) {
43
            $router->post('{adminModel}/'.static::$route.'/{field}/{id?}', [
44
                'as'   => $routeName,
45
                'uses' => 'SleepingOwl\Admin\Http\Controllers\FormElementController@selectSearch',
46
            ]);
47
        }
48
    }
49
50
    /**
51
     * @return null

src/Form/Element/MultiSelectAjax.php 1 location

@@ 106-116 (lines=11) @@
103
    /**
104
     * @param Router $router
105
     */
106
    public static function registerRoutes(Router $router)
107
    {
108
        $routeName = 'admin.form.element.'.static::$route;
109
110
        if (! $router->has($routeName)) {
111
            $router->post('{adminModel}/'.static::$route.'/{field}/{id?}', [
112
                'as'   => $routeName,
113
                'uses' => 'SleepingOwl\Admin\Http\Controllers\FormElementController@multiselectSearch',
114
            ]);
115
        }
116
    }
117
118
    /**
119
     * Set min symbols to search.