Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 972-980 (lines=9) @@
969
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
970
    }
971
972
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
973
    {
974
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
975
            $event->registrationAuthorityRole,
976
            $event->location,
977
            $event->contactInformation,
978
            $event->raInstitution
979
        ));
980
    }
981
982
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
983
    {
@@ 982-990 (lines=9) @@
979
        ));
980
    }
981
982
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $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 applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
993
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event