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 = 12-12 lines in 2 locations

src/Flare/Admin/Models/ModelAdminController.php 2 locations

@@ 66-77 (lines=12) @@
63
     * 
64
     * @return \Illuminate\Http\Response
65
     */
66
    public function getTrashed()
67
    {
68
        if (!$this->modelAdmin->hasSoftDeleting()) {
69
            return $this->missingMethod();
70
        }
71
72
        return view('flare::admin.modeladmin.trashed', [
73
                                                        'modelItems' => $this->modelAdmin->onlyTrashedItems(),
74
                                                        'totals' => $this->modelAdmin->totals(),
75
                                                    ]
76
                                                );
77
    }
78
79
    /**
80
     * List All Model Items inc Trashed.
@@ 84-95 (lines=12) @@
81
     * 
82
     * @return \Illuminate\Http\Response
83
     */
84
    public function getAll()
85
    {
86
        if (!$this->modelAdmin->hasSoftDeleting()) {
87
            return $this->missingMethod();
88
        }
89
90
        return view('flare::admin.modeladmin.all', [
91
                                                        'modelItems' => $this->modelAdmin->allItems(),
92
                                                        'totals' => $this->modelAdmin->totals(),
93
                                                    ]
94
                                            );
95
    }
96
97
    /**
98
     * Create a new Model Entry from ModelAdmin Create Page.