diff options
author | WENDLING NICOLAS <nicolas.wendling2@etu.unistra.fr> | 2021-02-28 23:41:11 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | a9863ec5f7bb299401f86455a6f10a3f8bdb4b08 (patch) | |
tree | 8f83c65f2e9c2166fe2ab73f48f67d34105a8c98 /lib | |
parent | 80dec257c275b61792b97b5f53aa6fc90661e8a7 (diff) |
🗑 '!=' is discouraged, replaced by '!=='
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 63d1d158f..09dea45d5 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 |