Code Duplication    Length = 11-11 lines in 2 locations

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

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