summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorWENDLING NICOLAS <nicolas.wendling1011@gmail.com>2021-02-28 23:54:48 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commitf6014567f33cfe046485c5ea0367caafd021a896 (patch)
tree3cb00a283a57c1d39f879fbd1faf4ff8a0fca915 /lib
parenta9863ec5f7bb299401f86455a6f10a3f8bdb4b08 (diff)
🗑 '!=' is discouraged, replaced by '!=='
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 09dea45d5..f615a7555 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -292,7 +292,7 @@ class Item extends Entity implements IAPI, \JsonSerializable
public function isShared(): bool
{
- return $this->getSharedWith() !== '' || $this->getSharedBy() != '';
+ return $this->getSharedWith() !== '' || $this->getSharedBy() !== '';
}
public function isUnread(): bool