@@ -82,7 +82,7 @@ |
||
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * @return array |
|
| 85 | + * @return string[] |
|
| 86 | 86 | */ |
| 87 | 87 | public function getStatusList() |
| 88 | 88 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | [['id'], 'trim'], |
| 40 | 40 | [['id'], 'required'], |
| 41 | 41 | [['id'], 'string', 'min' => 2, 'max' => 2], |
| 42 | - [['id'], 'match', 'pattern' => '/^' . self::PATTERN . '$/'], |
|
| 42 | + [['id'], 'match', 'pattern' => '/^'.self::PATTERN.'$/'], |
|
| 43 | 43 | [['id'], 'unique'], |
| 44 | 44 | |
| 45 | 45 | [['name'], 'trim'], |