summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/class/object.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php
index a000a10..8ad17f5 100644
--- a/app/class/object.class.php
+++ b/app/class/object.class.php
@@ -57,7 +57,7 @@ class object extends table
* object will be returned. If this object does not have an owner,
* NULL will be returned.
*/
- public function getOwner() : agent
+ public function getOwner() : ?agent
{
if (!isset($this->owner) || $this->owner == "")
return NULL;