Code Duplication    Length = 9-9 lines in 2 locations

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

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