@@ -279,7 +279,7 @@ |
||
279 | 279 | $this->getModelNameCamlized(), |
280 | 280 | $this->apiEndpoint, |
281 | 281 | $this->getDbTableShema() |
282 | - ), |
|
282 | + ), |
|
283 | 283 | ]; |
284 | 284 | |
285 | 285 | foreach ($files as $file) { |
@@ -14,9 +14,9 @@ discard block |
||
14 | 14 | */ |
15 | 15 | class FloatValidator extends Validator |
16 | 16 | { |
17 | - /** |
|
18 | - * @var string The messaged to send when an error appears. |
|
19 | - */ |
|
17 | + /** |
|
18 | + * @var string The messaged to send when an error appears. |
|
19 | + */ |
|
20 | 20 | public $message = '{attribute} must be a float or numeric value.'; |
21 | 21 | |
22 | 22 | /** |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | { |
29 | 29 | $value = $model->$attribute; |
30 | 30 | if (!is_numeric($value) && !is_float($value)) { |
31 | - return $model->addError($attribute, Yii::t('yii', $this->message, ['attribute' => $model->getAttributeLabel($attribute)])); |
|
31 | + return $model->addError($attribute, Yii::t('yii', $this->message, ['attribute' => $model->getAttributeLabel($attribute)])); |
|
32 | 32 | } |
33 | 33 | } |
34 | 34 | } |
@@ -18,9 +18,9 @@ |
||
18 | 18 | */ |
19 | 19 | class UrlManager extends \yii\web\UrlManager |
20 | 20 | { |
21 | - /** |
|
22 | - * @var boolean Pretty urls are enabled by default and can not be turned off in luya cms context. |
|
23 | - */ |
|
21 | + /** |
|
22 | + * @var boolean Pretty urls are enabled by default and can not be turned off in luya cms context. |
|
23 | + */ |
|
24 | 24 | public $enablePrettyUrl = true; |
25 | 25 | |
26 | 26 | /** |