Code Duplication    Length = 9-9 lines in 2 locations

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

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