mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-30 19:40:30 +00:00
CS
This commit is contained in:
parent
401135852c
commit
82fc3290d4
3 changed files with 4 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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 = [])
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue