Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 945-953 (lines=9) @@
942
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
943
    }
944
945
    protected function applyIdentityAccreditedAsRaEvent(IdentityAccreditedAsRaEvent $event)
946
    {
947
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
948
            $event->registrationAuthorityRole,
949
            $event->location,
950
            $event->contactInformation,
951
            $event->raInstitution
952
        ));
953
    }
954
955
    protected function applyIdentityAccreditedAsRaaEvent(IdentityAccreditedAsRaaEvent $event)
956
    {
@@ 955-963 (lines=9) @@
952
        ));
953
    }
954
955
    protected function applyIdentityAccreditedAsRaaEvent(IdentityAccreditedAsRaaEvent $event)
956
    {
957
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
958
            $event->registrationAuthorityRole,
959
            $event->location,
960
            $event->contactInformation,
961
            $event->raInstitution
962
        ));
963
    }
964
965
    protected function applyRegistrationAuthorityInformationAmendedEvent(
966
        RegistrationAuthorityInformationAmendedEvent $event