@@ 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 | [ |
@@ 142-146 (lines=5) @@ | ||
139 | ], |
|
140 | [ |
|
141 | UploadModelInterface::FILE_TYPE_THUMB, |
|
142 | function($attribute){ |
|
143 | if (!is_numeric($this->{$attribute}) && !is_string($this->{$attribute})){ |
|
144 | $this->addError($attribute, 'Tumbnail content must be a numeric or string.'); |
|
145 | } |
|
146 | }, |
|
147 | 'skipOnError' => false, |
|
148 | ], |
|
149 | [ |
@@ 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 | [ |