Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 1111-1119 (lines=9) @@
1108
     *
1109
     * @param AppointedAsRaaEvent $event
1110
     */
1111
    protected function applyIdentityAccreditedAsRaEvent(IdentityAccreditedAsRaEvent $event)
1112
    {
1113
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1114
            $event->registrationAuthorityRole,
1115
            $event->location,
1116
            $event->contactInformation,
1117
            $event->identityInstitution
1118
        ));
1119
    }
1120
1121
    /**
1122
     * This method is kept to be backwards compatible for changes before FGA
@@ 1126-1134 (lines=9) @@
1123
     *
1124
     * @param IdentityAccreditedAsRaaEvent $event
1125
     */
1126
    protected function applyIdentityAccreditedAsRaaEvent(IdentityAccreditedAsRaaEvent $event)
1127
    {
1128
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1129
            $event->registrationAuthorityRole,
1130
            $event->location,
1131
            $event->contactInformation,
1132
            $event->identityInstitution
1133
        ));
1134
    }
1135
1136
    /**
1137
     * This method is kept to be backwards compatible for changes before FGA