diff options
author | Malf Furious <m@lfurio.us> | 2017-02-04 18:45:06 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-02-04 18:45:06 -0500 |
commit | 7342f00a0624ec0e89732ad476f44dc95d0129de (patch) | |
tree | 29adafe311435a50c2547288de3df9be76a71066 /app/class | |
parent | 66cf5c4d36ed6020c6ee6b7ca99aecd5a8f3bcf4 (diff) | |
download | scrott-7342f00a0624ec0e89732ad476f44dc95d0129de.tar.gz scrott-7342f00a0624ec0e89732ad476f44dc95d0129de.zip |
Fix to object class function signature
The getOwner() function should have had a nullable return type.
Diffstat (limited to 'app/class')
-rw-r--r-- | app/class/object.class.php | 2 |
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; |