@@ -189,12 +189,12 @@ |
||
189 | 189 | */ |
190 | 190 | protected function cleanAttributesOverride($attributes) |
191 | 191 | { |
192 | - if (sizeof($this->override) > 0 && sizeof($attributes) >0) { |
|
192 | + if (sizeof($this->override) > 0 && sizeof($attributes) > 0) { |
|
193 | 193 | foreach ($this->override as $field => $queryParams) { |
194 | 194 | $newOverrideValues = $this->getNewOverrideValues($attributes[$field], $queryParams); |
195 | 195 | $saveField = \yii\helpers\ArrayHelper::getValue($queryParams, 'saveField', $field); |
196 | 196 | |
197 | - if (count($newOverrideValues) >1) { |
|
197 | + if (count($newOverrideValues) > 1) { |
|
198 | 198 | $attributes[$saveField] = implode(', ', |
199 | 199 | \yii\helpers\ArrayHelper::map($newOverrideValues, $queryParams['returnField'], $queryParams['returnField']) |
200 | 200 | ); |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function getLabel() |
38 | 38 | { |
39 | - return $this->getName() . ' <small>(' . count($this->data) . ')</small>'; |
|
39 | + return $this->getName().' <small>('.count($this->data).')</small>'; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | // string, required, root directory of all source files |
5 | - 'sourcePath' => __DIR__ . '/..', |
|
5 | + 'sourcePath' => __DIR__.'/..', |
|
6 | 6 | // array, required, list of language codes that the extracted messages |
7 | 7 | // should be translated to. For example, ['zh-CN', 'de']. |
8 | 8 | 'languages' => ['en', 'nl', 'ru', 'es', 'tr'], |