forked from wallabag/wallabag
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user