Code Duplication    Length = 9-9 lines in 2 locations

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

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