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

src/Eloquent/Model.php 2 locations

@@ 139-146 (lines=8) @@
136
     *
137
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
138
     */
139
    public function hasOne($related, $foreignKey = null, $localKey = null)
140
    {
141
        $foreignKey = $foreignKey ?: $this->getForeignKey();
142
        $instance = new $related();
143
        $localKey = $localKey ?: $this->getKeyName();
144
145
        return new HasOne($instance->newQuery(), $this, $foreignKey, $localKey);
146
    }
147
148
    /**
149
     * Define a one-to-many relationship.
@@ 157-164 (lines=8) @@
154
     *
155
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
156
     */
157
    public function hasMany($related, $foreignKey = null, $localKey = null)
158
    {
159
        $foreignKey = $foreignKey ?: $this->getForeignKey();
160
        $instance = new $related();
161
        $localKey = $localKey ?: $this->getKeyName();
162
163
        return new HasMany($instance->newQuery(), $this, $foreignKey, $localKey);
164
    }
165
166
    /**
167
     * Determine if the new and old values for a given key are numerically equivalent.