Browse Source

PHP type casting

tags/2.0.1
Alexander Mohorev 10 years ago
parent
commit
c5b6007649
  1. 2
      ActiveField.php

2
ActiveField.php

@ -309,7 +309,7 @@ class ActiveField extends \yii\widgets\ActiveField
*/ */
public function inline($value = true) public function inline($value = true)
{ {
$this->inline = (bool)$value; $this->inline = (bool) $value;
return $this; return $this;
} }

Loading…
Cancel
Save