| @@ 223-231 (lines=9) @@ | ||
| 220 | /** |
|
| 221 | * @param string $status |
|
| 222 | */ |
|
| 223 | public function setStatus($status) |
|
| 224 | { |
|
| 225 | Assert\that($status)->choice( |
|
| 226 | [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''], |
|
| 227 | 'Invalid second factor status, must be one of the STATUS constants' |
|
| 228 | ); |
|
| 229 | ||
| 230 | $this->status = $status ?: null; |
|
| 231 | } |
|
| 232 | ||
| 233 | /** |
|
| 234 | * @param string $orderBy |
|
| @@ 199-207 (lines=9) @@ | ||
| 196 | /** |
|
| 197 | * @param string $status |
|
| 198 | */ |
|
| 199 | public function setStatus($status) |
|
| 200 | { |
|
| 201 | Assert\that($status)->choice( |
|
| 202 | [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''], |
|
| 203 | 'Invalid second factor status, must be one of the STATUS constants' |
|
| 204 | ); |
|
| 205 | ||
| 206 | $this->status = $status ?: null; |
|
| 207 | } |
|
| 208 | ||
| 209 | /** |
|
| 210 | * @return null|string |
|