Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 884-892 (lines=9) @@
881
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
882
    }
883
884
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
885
    {
886
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
887
            $event->registrationAuthorityRole,
888
            $event->location,
889
            $event->contactInformation,
890
            $event->raInstitution
891
        ));
892
    }
893
894
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event
895
    ) {
@@ 894-902 (lines=9) @@
891
        ));
892
    }
893
894
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event
895
    ) {
896
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
897
            $event->registrationAuthorityRole,
898
            $event->location,
899
            $event->contactInformation,
900
            $event->raInstitution
901
        ));
902
    }
903
904
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
905
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event