Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 148-158 (lines=11) @@
145
        );
146
    }
147
148
    public function applyPhonePossessionProvenEvent(PhonePossessionProvenEvent $event)
149
    {
150
        $this->saveRaSecondFactor(
151
            (string) $event->identityId,
152
            (string) $event->secondFactorId,
153
            'sms',
154
            (string) $event->phoneNumber,
155
            $event->commonName,
156
            $event->email
157
        );
158
    }
159
160
    public function applyPhonePossessionProvenAndVerifiedEvent(PhonePossessionProvenAndVerifiedEvent $event)
161
    {
@@ 160-170 (lines=11) @@
157
        );
158
    }
159
160
    public function applyPhonePossessionProvenAndVerifiedEvent(PhonePossessionProvenAndVerifiedEvent $event)
161
    {
162
        $this->saveRaSecondFactor(
163
            (string) $event->identityId,
164
            (string) $event->secondFactorId,
165
            'sms',
166
            (string) $event->phoneNumber,
167
            $event->commonName,
168
            $event->email
169
        );
170
    }
171
172
    public function applyGssfPossessionProvenEvent(GssfPossessionProvenEvent $event)
173
    {