mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Fix CS
This commit is contained in:
parent
bf329d34d8
commit
c6a69e595c
23 changed files with 57 additions and 57 deletions
|
@ -306,7 +306,7 @@ class EntryRepository extends ServiceEntityRepository
|
|||
$fields = array_filter($fieldNames, function ($k) {
|
||||
return 'content' !== $k;
|
||||
});
|
||||
$qb->select(sprintf('partial e.{%s}', implode(',', $fields)));
|
||||
$qb->select(\sprintf('partial e.{%s}', implode(',', $fields)));
|
||||
}
|
||||
|
||||
if (null !== $isArchived) {
|
||||
|
@ -780,6 +780,6 @@ class EntryRepository extends ServiceEntityRepository
|
|||
*/
|
||||
private function sortQueryBuilder(QueryBuilder $qb, $sortBy = 'createdAt', $direction = 'desc')
|
||||
{
|
||||
return $qb->orderBy(sprintf('e.%s', $sortBy), $direction);
|
||||
return $qb->orderBy(\sprintf('e.%s', $sortBy), $direction);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue