Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 124-134 (lines=11) @@
121
        $this->raSecondFactorRepository->save($secondFactor);
122
    }
123
124
    public function applyYubikeyPossessionProvenEvent(YubikeyPossessionProvenEvent $event)
125
    {
126
        $this->saveRaSecondFactor(
127
            (string) $event->identityId,
128
            (string) $event->secondFactorId,
129
            'yubikey',
130
            (string) $event->yubikeyPublicId,
131
            $event->commonName,
132
            $event->email
133
        );
134
    }
135
136
    public function applyYubikeyPossessionProvenAndVerifiedEvent(YubikeyPossessionProvenAndVerifiedEvent $event)
137
    {
@@ 136-146 (lines=11) @@
133
        );
134
    }
135
136
    public function applyYubikeyPossessionProvenAndVerifiedEvent(YubikeyPossessionProvenAndVerifiedEvent $event)
137
    {
138
        $this->saveRaSecondFactor(
139
            (string) $event->identityId,
140
            (string) $event->secondFactorId,
141
            'yubikey',
142
            (string) $event->yubikeyPublicId,
143
            $event->commonName,
144
            $event->email
145
        );
146
    }
147
148
    public function applyPhonePossessionProvenEvent(PhonePossessionProvenEvent $event)
149
    {