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

src/Framework/Repository/Generators/RepositoryEloquentGenerator.php 2 locations

@@ 143-152 (lines=10) @@
140
    /**
141
     * @return string
142
     */
143
    public function getValidatorMethod()
144
    {
145
        if ($this->validator != 'yes') {
146
            return '';
147
        }
148
149
        $class = $this->getClass();
150
151
        return '/**'.PHP_EOL.'     * Specify Validator class name.'.PHP_EOL.'     *'.PHP_EOL.'     * @return mixed'.PHP_EOL.'     */'.PHP_EOL.'    public function validator()'.PHP_EOL.'    {'.PHP_EOL.'        return '.$class.'Validator::class;'.PHP_EOL.'    }';
152
    }
153
154
    /**
155
     * @return string
@@ 185-193 (lines=9) @@
182
    /**
183
     * @return string
184
     */
185
    public function getPresenterMethod()
186
    {
187
        if ($this->presenter != 'yes') {
188
            return '';
189
        }
190
        $class = $this->getClass();
191
192
        return '/**'.PHP_EOL.'     * Specify Presenter class name.'.PHP_EOL.'     *'.PHP_EOL.'     * @return mixed'.PHP_EOL.'     */'.PHP_EOL.'    public function presenter()'.PHP_EOL.'    {'.PHP_EOL.'        return '.$class.'Presenter::class;'.PHP_EOL.'    }';
193
    }
194
195
    /**
196
     * @return string