Code Duplication    Length = 11-11 lines in 2 locations

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

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