Code Duplication    Length = 9-9 lines in 2 locations

src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorSearchQuery.php 1 location

@@ 179-187 (lines=9) @@
176
    /**
177
     * @param string $status
178
     */
179
    public function setStatus($status)
180
    {
181
        Assert\that($status)->choice(
182
            [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''],
183
            'Invalid second factor status, must be one of the STATUS constants'
184
        );
185
186
        $this->status = $status ?: null;
187
    }
188
189
    /**
190
     * @return null|string

src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorExportQuery.php 1 location

@@ 203-211 (lines=9) @@
200
    /**
201
     * @param string $status
202
     */
203
    public function setStatus($status)
204
    {
205
        Assert\that($status)->choice(
206
            [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''],
207
            'Invalid second factor status, must be one of the STATUS constants'
208
        );
209
210
        $this->status = $status ?: null;
211
    }
212
213
    /**
214
     * @param string $orderBy