forked from wallabag/wallabag
PHPStan level 3
This commit is contained in:
@ -429,7 +429,7 @@ class EntryRepository extends ServiceEntityRepository
|
||||
/**
|
||||
* Find all entries which have an empty value for hash.
|
||||
*
|
||||
* @return Entry|false
|
||||
* @return Entry[]
|
||||
*/
|
||||
public function findByEmptyHashedUrlAndUserId(int $userId)
|
||||
{
|
||||
|
||||
@ -42,7 +42,7 @@ class SiteCredentialRepository extends ServiceEntityRepository
|
||||
->getOneOrNullResult();
|
||||
|
||||
if (null === $res) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
// decrypt user & password before returning them
|
||||
|
||||
Reference in New Issue
Block a user