Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 957-965 (lines=9) @@
954
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
955
    }
956
957
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
958
    {
959
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
960
            $event->registrationAuthorityRole,
961
            $event->location,
962
            $event->contactInformation,
963
            $event->raInstitution
964
        ));
965
    }
966
967
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
968
    {
@@ 967-975 (lines=9) @@
964
        ));
965
    }
966
967
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
968
    {
969
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
970
            $event->registrationAuthorityRole,
971
            $event->location,
972
            $event->contactInformation,
973
            $event->raInstitution
974
        ));
975
    }
976
977
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
978
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event