Code Duplication    Length = 11-11 lines in 2 locations

src/Surfnet/StepupMiddleware/ApiBundle/Identity/Projector/RaSecondFactorProjector.php 2 locations

@@ 200-210 (lines=11) @@
197
        );
198
    }
199
200
    public function applyU2fDevicePossessionProvenEvent(U2fDevicePossessionProvenEvent $event)
201
    {
202
        $this->saveRaSecondFactor(
203
            (string) $event->identityId,
204
            (string) $event->secondFactorId,
205
            'u2f',
206
            $event->keyHandle->getValue(),
207
            $event->commonName,
208
            $event->email
209
        );
210
    }
211
212
    public function applyU2fDevicePossessionProvenAndVerifiedEvent(U2fDevicePossessionProvenAndVerifiedEvent $event)
213
    {
@@ 212-222 (lines=11) @@
209
        );
210
    }
211
212
    public function applyU2fDevicePossessionProvenAndVerifiedEvent(U2fDevicePossessionProvenAndVerifiedEvent $event)
213
    {
214
        $this->saveRaSecondFactor(
215
            (string) $event->identityId,
216
            (string) $event->secondFactorId,
217
            'u2f',
218
            $event->keyHandle->getValue(),
219
            $event->commonName,
220
            $event->email
221
        );
222
    }
223
224
    /**
225
     * @param string $identityId