]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Code Style
authorSébastien Viande <sviande@gmail.com>
Fri, 15 Jun 2018 09:30:54 +0000 (11:30 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 21 Sep 2018 08:33:33 +0000 (10:33 +0200)
src/Wallabag/CoreBundle/Repository/EntryRepository.php

index c0818ca09c4af9ba533e81a1f633e85c69db7b5d..10389cc19b831ca41010ab0de47850433a2aa5e9 100644 (file)
@@ -189,7 +189,7 @@ class EntryRepository extends EntityRepository
             $qb->orderBy('e.id', $order);
         } elseif ('updated' === $sort) {
             $qb->orderBy('e.updatedAt', $order);
-        } else if ('archived' === $sort) {
+        } elseif ('archived' === $sort) {
             $qb->orderBy('e.archivedAt', $order);
         }