Code Duplication    Length = 11-11 lines in 2 locations

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

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