Commit fc783984 by Antonio Ramirez

fixed code style

parent 8d1a7451
......@@ -107,9 +107,11 @@ class TypeAhead extends Widget
}
if ($this->name === null)
{
throw new InvalidParamException(
get_class($this) . ' must specify "form", "model" and "attribute" or "name" property values'
);
}
return Html::textInput($this->name, '', $this->options);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment