X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FRepository%2FEntryRepository.php;h=4d45e5f51080bf85e049b4f5b90bfc119741bfba;hb=e9023a16eba20655965b658ce4dbb2229dfe2546;hp=87e34dc997c50fbea9d7864290f554d3d236983f;hpb=e678c4752a35b06c0a77d17fc23aa2de6abc4e18;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 87e34dc9..4d45e5f5 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -157,7 +157,7 @@ class EntryRepository extends EntityRepository ->getQuery() ->getResult(); - $languages = array(); + $languages = []; foreach ($results as $result) { $languages[$result['language']] = $result['language']; } @@ -233,7 +233,7 @@ class EntryRepository extends EntityRepository * @param $url * @param $userId * - * @return array|bool + * @return Entry|bool */ public function findByUrlAndUserId($url, $userId) {