Code Duplication    Length = 9-9 lines in 2 locations

src/Surfnet/Stepup/Identity/Identity.php 2 locations

@@ 982-990 (lines=9) @@
979
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
980
    }
981
982
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
983
    {
984
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
985
            $event->registrationAuthorityRole,
986
            $event->location,
987
            $event->contactInformation,
988
            $event->raInstitution
989
        ));
990
    }
991
992
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
993
    {
@@ 992-1000 (lines=9) @@
989
        ));
990
    }
991
992
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
993
    {
994
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
995
            $event->registrationAuthorityRole,
996
            $event->location,
997
            $event->contactInformation,
998
            $event->raInstitution
999
        ));
1000
    }
1001
1002
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
1003
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event