diff options
author | Mario Vavti <mario@mariovavti.com> | 2024-11-17 20:52:13 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2024-11-17 20:52:13 +0100 |
commit | 5cfb3842f188b5f684882716c06dfb32ac957108 (patch) | |
tree | d1496a95813cf7e93854afda7226cd2a65a7035f | |
parent | 25b089c1a930e41e0d4029aad3fde531e21717e1 (diff) | |
download | volse-hubzilla-5cfb3842f188b5f684882716c06dfb32ac957108.tar.gz volse-hubzilla-5cfb3842f188b5f684882716c06dfb32ac957108.tar.bz2 volse-hubzilla-5cfb3842f188b5f684882716c06dfb32ac957108.zip |
more phpstan errors
-rw-r--r-- | Zotlabs/Entity/Item.php | 36 | ||||
-rw-r--r-- | include/event.php | 2 |
2 files changed, 1 insertions, 37 deletions
diff --git a/Zotlabs/Entity/Item.php b/Zotlabs/Entity/Item.php index 9e4bb5ee8..76ff8b150 100644 --- a/Zotlabs/Entity/Item.php +++ b/Zotlabs/Entity/Item.php @@ -488,24 +488,6 @@ class Item extends BaseObject /** * @return mixed */ - public function getApproved() - { - return $this->approved; - } - - /** - * @param mixed $approved - * @return Item - */ - public function setApproved($approved) - { - $this->approved = $approved; - return $this; - } - - /** - * @return mixed - */ public function getMimetype() { return $this->mimetype; @@ -524,24 +506,6 @@ class Item extends BaseObject /** * @return mixed */ - public function getReplyto() - { - return $this->replyto; - } - - /** - * @param mixed $replyto - * @return Item - */ - public function setReplyto($replyto) - { - $this->replyto = $replyto; - return $this; - } - - /** - * @return mixed - */ public function getTitle() { return $this->title; diff --git a/include/event.php b/include/event.php index 2fa1cc4f1..3509c1556 100644 --- a/include/event.php +++ b/include/event.php @@ -647,7 +647,7 @@ function event_store_event($arr) { else { try { $hash = Uuid::uuid4()->toString(); - } catch (UnsatisfiedDependencyException $e) { + } catch (UnableToBuildUuidException $e) { $hash = random_string(48); } } |