PHPDoc fixes

This commit is contained in:
Ingo Schommer 2017-04-27 11:56:23 +12:00
parent f01a20d5c4
commit 628fd216ad

View File

@ -107,6 +107,9 @@ class DatetimeField extends TextField
return $attributes; return $attributes;
} }
/**
* @inheritDoc
*/
public function getSchemaDataDefaults() public function getSchemaDataDefaults()
{ {
$defaults = parent::getSchemaDataDefaults(); $defaults = parent::getSchemaDataDefaults();
@ -120,16 +123,26 @@ class DatetimeField extends TextField
]); ]);
} }
/**
* @inheritDoc
*/
public function Type() public function Type()
{ {
return 'text datetime'; return 'text datetime';
} }
/**
* @return bool
*/
public function getHTML5() public function getHTML5()
{ {
return $this->html5; return $this->html5;
} }
/**
* @param $bool
* @return $this
*/
public function setHTML5($bool) public function setHTML5($bool)
{ {
$this->html5 = $bool; $this->html5 = $bool;