forked from wallabag/wallabag
Fix some Scrutinizer issues
This commit is contained in:
@ -771,7 +771,7 @@ class Entry
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @return string|null
|
||||
*/
|
||||
public function getUid()
|
||||
{
|
||||
|
||||
@ -345,7 +345,7 @@ class EntryRepository extends EntityRepository
|
||||
* @param string $url
|
||||
* @param int $userId
|
||||
*
|
||||
* @return Entry|bool
|
||||
* @return Entry|false
|
||||
*/
|
||||
public function findByUrlAndUserId($url, $userId)
|
||||
{
|
||||
@ -362,7 +362,7 @@ class EntryRepository extends EntityRepository
|
||||
* @param string $hashedUrl Url hashed using sha1
|
||||
* @param int $userId
|
||||
*
|
||||
* @return Entry|bool
|
||||
* @return Entry|false
|
||||
*/
|
||||
public function findByHashedUrlAndUserId($hashedUrl, $userId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user