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

src/Flare/Admin/Models/Traits/ModelQuerying.php 2 locations

@@ 110-119 (lines=10) @@
107
     * 
108
     * @return
109
     */
110
    public function allItems($count = false)
111
    {
112
        if (!$this->hasSoftDeleting()) {
113
            throw new \Exception('Model does not have Soft Deleting');
114
        }
115
116
        $this->query = $this->model->newQuery()->withTrashed();
117
118
        return $this->query($count);
119
    }
120
121
    /**
122
     * Returns Model Items, either all() or paginated().
@@ 129-138 (lines=10) @@
126
     * 
127
     * @return
128
     */
129
    public function onlyTrashedItems($count = false)
130
    {
131
        if (!$this->hasSoftDeleting()) {
132
            throw new \Exception('Model does not have Soft Deleting');
133
        }
134
135
        $this->query = $this->model->newQuery()->onlyTrashed();
136
137
        return $this->query($count);
138
    }
139
140
    /**
141
     * Performs the Model Query.