aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-05-29 12:00:23 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-05-29 12:50:44 +0200
commit52e8d93248c6f47ccb98abc973fcd230b29fee6c (patch)
tree297e753bf38491cdce4360372ce298ab8060f3b6 /src/Wallabag/CoreBundle
parente9579d6de9ea99522e5905e8bb827e858c8da1fc (diff)
downloadwallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.tar.gz
wallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.tar.zst
wallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.zip
Fix some Scrutinizer issues
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php2
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 1b4367fd..8637c62f 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -771,7 +771,7 @@ class Entry
771 } 771 }
772 772
773 /** 773 /**
774 * @return string 774 * @return string|null
775 */ 775 */
776 public function getUid() 776 public function getUid()
777 { 777 {
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index 880e7c65..f9cf5233 100644
--- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
@@ -345,7 +345,7 @@ class EntryRepository extends EntityRepository
345 * @param string $url 345 * @param string $url
346 * @param int $userId 346 * @param int $userId
347 * 347 *
348 * @return Entry|bool 348 * @return Entry|false
349 */ 349 */
350 public function findByUrlAndUserId($url, $userId) 350 public function findByUrlAndUserId($url, $userId)
351 { 351 {
@@ -362,7 +362,7 @@ class EntryRepository extends EntityRepository
362 * @param string $hashedUrl Url hashed using sha1 362 * @param string $hashedUrl Url hashed using sha1
363 * @param int $userId 363 * @param int $userId
364 * 364 *
365 * @return Entry|bool 365 * @return Entry|false
366 */ 366 */
367 public function findByHashedUrlAndUserId($hashedUrl, $userId) 367 public function findByHashedUrlAndUserId($hashedUrl, $userId)
368 { 368 {