Code Duplication    Length = 9-9 lines in 2 locations

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

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