Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 979-987 (lines=9) @@
976
        $this->vettedSecondFactors->remove((string)$event->secondFactorId);
977
    }
978
979
    protected function applyIdentityAccreditedAsRaForInstitutionEvent(IdentityAccreditedAsRaForInstitutionEvent $event)
980
    {
981
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
982
            $event->registrationAuthorityRole,
983
            $event->location,
984
            $event->contactInformation,
985
            $event->raInstitution
986
        ));
987
    }
988
989
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
990
    {
@@ 989-997 (lines=9) @@
986
        ));
987
    }
988
989
    protected function applyIdentityAccreditedAsRaaForInstitutionEvent(IdentityAccreditedAsRaaForInstitutionEvent $event)
990
    {
991
        $this->registrationAuthorities->set($event->raInstitution, RegistrationAuthority::accreditWith(
992
            $event->registrationAuthorityRole,
993
            $event->location,
994
            $event->contactInformation,
995
            $event->raInstitution
996
        ));
997
    }
998
999
    protected function applyRegistrationAuthorityInformationAmendedForInstitutionEvent(
1000
        RegistrationAuthorityInformationAmendedForInstitutionEvent $event