Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 1001-1009 (lines=9) @@
998
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
999
    }
1000
1001
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
1002
    {
1003
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
1004
            $event->registrationAuthorityRole,
1005
            $event->location,
1006
            $event->contactInformation,
1007
            $event->raInstitution
1008
        ));
1009
    }
1010
1011
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
1012
    {
@@ 1011-1019 (lines=9) @@
1008
        ));
1009
    }
1010
1011
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
1012
    {
1013
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
1014
            $event->registrationAuthorityRole,
1015
            $event->location,
1016
            $event->contactInformation,
1017
            $event->raInstitution
1018
        ));
1019
    }
1020
1021
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
1022
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event