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

myth/Auth/LocalAuthentication.php 2 locations

@@ 420-424 (lines=5) @@
417
            return false;
418
        }
419
420
        if (! $this->user_model->update($user->id, ['active' => 1, 'activate_hash' => null]))
421
        {
422
            $this->error = $this->user_model->error();
423
            return false;
424
        }
425
426
        Events::trigger('didActivate', [(array)$user]);
427
@@ 441-445 (lines=5) @@
438
     */
439
    public function activateUserById($id)
440
    {
441
        if (! $this->user_model->update($id, ['active' => 1, 'activate_hash' => null]))
442
        {
443
            $this->error = $this->user_model->error();
444
            return false;
445
        }
446
447
        Events::trigger('didActivate', [$this->user_model->as_array()->find($id)]);
448