@@ -34,9 +34,9 @@ |
||
34 | 34 | |
35 | 35 | public $placeholder = 'Selecione {attribute}'; |
36 | 36 | |
37 | - public function init () |
|
37 | + public function init() |
|
38 | 38 | { |
39 | - $this->format = empty($this->format_raw)? ['date', $this->format]: $this->format_raw; |
|
39 | + $this->format = empty($this->format_raw) ? ['date', $this->format] : $this->format_raw; |
|
40 | 40 | $this->placeholder = strtr(Yii::t('app', $this->placeholder), ['{attribute}' => $this->grid->filterModel->getAttributeLabel($this->attribute)]); |
41 | 41 | $this->filter = \yii\jui\DatePicker::widget([ |
42 | 42 | 'model'=> $this->grid->filterModel, |