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