Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 1080-1088 (lines=9) @@
1077
     *
1078
     * @param AppointedAsRaaEvent $event
1079
     */
1080
    protected function applyIdentityAccreditedAsRaEvent(IdentityAccreditedAsRaEvent $event)
1081
    {
1082
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1083
            $event->registrationAuthorityRole,
1084
            $event->location,
1085
            $event->contactInformation,
1086
            $event->identityInstitution
1087
        ));
1088
    }
1089
1090
    /**
1091
     * This method is kept to be backwards compatible for changes before FGA
@@ 1095-1103 (lines=9) @@
1092
     *
1093
     * @param IdentityAccreditedAsRaaEvent $event
1094
     */
1095
    protected function applyIdentityAccreditedAsRaaEvent(IdentityAccreditedAsRaaEvent $event)
1096
    {
1097
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1098
            $event->registrationAuthorityRole,
1099
            $event->location,
1100
            $event->contactInformation,
1101
            $event->identityInstitution
1102
        ));
1103
    }
1104
1105
    /**
1106
     * This method is kept to be backwards compatible for changes before FGA