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

@@ 430-434 (lines=5) @@
427
            return false;
428
        }
429
430
        if (! $this->user_model->update($user->id, ['active' => 1, 'activate_hash' => null]))
431
        {
432
            $this->error = $this->user_model->error();
433
            return false;
434
        }
435
436
        Events::trigger('didActivate', [(array)$user]);
437
@@ 451-455 (lines=5) @@
448
     */
449
    public function activateUserById($id)
450
    {
451
        if (! $this->user_model->update($id, ['active' => 1, 'activate_hash' => null]))
452
        {
453
            $this->error = $this->user_model->error();
454
            return false;
455
        }
456
457
        Events::trigger('didActivate', [$this->user_model->as_array()->find($id)]);
458