Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 934-942 (lines=9) @@
931
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
932
    }
933
934
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
935
    {
936
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
937
            $event->registrationAuthorityRole,
938
            $event->location,
939
            $event->contactInformation,
940
            $event->raInstitution
941
        ));
942
    }
943
944
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
945
    {
@@ 944-952 (lines=9) @@
941
        ));
942
    }
943
944
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
945
    {
946
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
947
            $event->registrationAuthorityRole,
948
            $event->location,
949
            $event->contactInformation,
950
            $event->raInstitution
951
        ));
952
    }
953
954
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
955
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event