]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 10:03:12 +0000 (12:03 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 10:03:49 +0000 (12:03 +0200)
src/Wallabag/CoreBundle/Controller/TagController.php
src/Wallabag/CoreBundle/Helper/ContentProxy.php
src/Wallabag/CoreBundle/Twig/WallabagExtension.php

index 07cd3edb3e333a1cd7f7ea86de927844d6a4349c..623a61461da894ebafc323830e4cb1002fee4a7f 100644 (file)
@@ -122,7 +122,7 @@ class TagController extends Controller
             }
         }
 
-        return $this->render('WallabagCoreBundle:Entry:entries.html.twig',[
+        return $this->render('WallabagCoreBundle:Entry:entries.html.twig', [
             'form' => null,
             'entries' => $entries,
             'currentPage' => $page,
index a65a21e8ef8edceab90aef437b53e3a79a019025..8019df42a6c51bd642c78074f6eceb6ec0e91657 100644 (file)
@@ -95,10 +95,9 @@ class ContentProxy
      * Assign some tags to an entry.
      *
      * @param Entry        $entry
-     * @param array|string $tags  An array of tag or a string coma separated of tag
-     * @param array $entitiesReady Entities from the EntityManager which are persisted but not yet flushed
-     *                             It is mostly to fix duplicate tag on import
-     *                             @see http://stackoverflow.com/a/7879164/569101
+     * @param array|string $tags          An array of tag or a string coma separated of tag
+     * @param array        $entitiesReady Entities from the EntityManager which are persisted but not yet flushed
+     *                                    It is mostly to fix duplicate tag on import @see http://stackoverflow.com/a/7879164/569101
      */
     public function assignTagsToEntry(Entry $entry, $tags, array $entitiesReady = [])
     {
index 0a6896c95367f6b3ad0006875e8ca8cf9422bd92..45dc591dbb91065e25b10ec3a6de4e34344687af 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Wallabag\CoreBundle\Twig;
 
-use Doctrine\ORM\Query;
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
 use Wallabag\CoreBundle\Repository\EntryRepository;
 use Wallabag\CoreBundle\Repository\TagRepository;