@@ 163-171 (lines=9) @@ | ||
160 | /** |
|
161 | * @param string $status |
|
162 | */ |
|
163 | public function setStatus($status) |
|
164 | { |
|
165 | Assert\that($status)->choice( |
|
166 | [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''], |
|
167 | 'Invalid second factor status, must be one of the STATUS constants' |
|
168 | ); |
|
169 | ||
170 | $this->status = $status ?: null; |
|
171 | } |
|
172 | ||
173 | /** |
|
174 | * @param string $orderBy |
@@ 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 |