Add PHPDoc to getCategory function
This commit is contained in:
parent
1d400b2899
commit
2d73aad9d1
|
@ -66,6 +66,10 @@ class DirectorDatafield extends DbObjectWithSettings
|
||||||
return $this->category !== null || $this->get('category_id') !== null;
|
return $this->category !== null || $this->get('category_id') !== null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return DirectorDatafieldCategory|null
|
||||||
|
* @throws \Icinga\Exception\NotFoundError
|
||||||
|
*/
|
||||||
public function getCategory()
|
public function getCategory()
|
||||||
{
|
{
|
||||||
if ($this->category) {
|
if ($this->category) {
|
||||||
|
|
Loading…
Reference in New Issue