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

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