| @@ 148-152 (lines=5) @@ | ||
| 145 | ], |
|
| 146 | [ |
|
| 147 | UploadModelInterface::FILE_TYPE_THUMB, |
|
| 148 | function($attribute){ |
|
| 149 | if (!is_numeric($this->{$attribute}) && !is_string($this->{$attribute})){ |
|
| 150 | $this->addError($attribute, 'Tumbnail content must be a numeric or string.'); |
|
| 151 | } |
|
| 152 | }, |
|
| 153 | 'skipOnError' => false, |
|
| 154 | ], |
|
| 155 | [ |
|
| @@ 156-160 (lines=5) @@ | ||
| 153 | ], |
|
| 154 | [ |
|
| 155 | UploadModelInterface::FILE_TYPE_THUMB, |
|
| 156 | function($attribute){ |
|
| 157 | if (!is_numeric($this->{$attribute}) && !is_string($this->{$attribute})){ |
|
| 158 | $this->addError($attribute, 'Tumbnail content must be a numeric or string.'); |
|
| 159 | } |
|
| 160 | }, |
|
| 161 | 'skipOnError' => false, |
|
| 162 | ], |
|
| 163 | [ |
|
| @@ 126-130 (lines=5) @@ | ||
| 123 | ], |
|
| 124 | [ |
|
| 125 | UploadModelInterface::FILE_TYPE_THUMB, |
|
| 126 | function($attribute) { |
|
| 127 | if (!is_numeric($this->{$attribute}) && !is_string($this->{$attribute})) { |
|
| 128 | $this->addError($attribute, 'Tumbnail content must be a numeric or string.'); |
|
| 129 | } |
|
| 130 | }, |
|
| 131 | 'skipOnError' => false, |
|
| 132 | ], |
|
| 133 | [ |
|
| @@ 146-150 (lines=5) @@ | ||
| 143 | ], |
|
| 144 | [ |
|
| 145 | UploadModelInterface::FILE_TYPE_THUMB, |
|
| 146 | function($attribute){ |
|
| 147 | if (!is_numeric($this->{$attribute}) && !is_string($this->{$attribute})){ |
|
| 148 | $this->addError($attribute, 'Tumbnail content must be a numeric or string.'); |
|
| 149 | } |
|
| 150 | }, |
|
| 151 | 'skipOnError' => false, |
|
| 152 | ], |
|
| 153 | [ |
|