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

src/AppBundle/Entity/User.php 2 locations

@@ 450-458 (lines=9) @@
447
     *
448
     * @return User
449
     */
450
    public function addTutorizedGroup(Group $tutorizedGroup)
451
    {
452
        if (false === $this->tutorizedGroups->contains($tutorizedGroup)) {
453
            $this->tutorizedGroups[] = $tutorizedGroup;
454
            $tutorizedGroup->addTutor($this);
455
        }
456
457
        return $this;
458
    }
459
460
    /**
461
     * Remove tutorizedGroup
@@ 465-471 (lines=7) @@
462
     *
463
     * @param Group $tutorizedGroup
464
     */
465
    public function removeTutorizedGroup(Group $tutorizedGroup)
466
    {
467
        if (true === $this->tutorizedGroups->contains($tutorizedGroup)) {
468
            $this->tutorizedGroups->removeElement($tutorizedGroup);
469
            $tutorizedGroup->removeTutor($this);
470
        }
471
    }
472
473
    /**
474
     * Get tutorizedGroups