aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2018-09-05 16:38:20 +0000
committerGitHub <noreply@github.com>2018-09-05 16:38:20 +0000
commitada5d5b2694ec95c6ca84aa91f22add1973343e0 (patch)
treedf0b695eb99e96dc55b63b27a404080c23421639 /src/Wallabag/CoreBundle/Controller/TagController.php
parent685a5d745e2b723a09111d7d31157cced67ea9b4 (diff)
parent2a1ceb67b4400f46f4d3067e887ff54aa906f0a2 (diff)
downloadwallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.tar.gz
wallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.tar.zst
wallabag-ada5d5b2694ec95c6ca84aa91f22add1973343e0.zip
Merge pull request #3716 from wallabag/csfixer
php-cs-fixer: native_function_invocation
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/TagController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php
index 616c37f2..b6d28e59 100644
--- a/src/Wallabag/CoreBundle/Controller/TagController.php
+++ b/src/Wallabag/CoreBundle/Controller/TagController.php
@@ -65,7 +65,7 @@ class TagController extends Controller
65 $em->flush(); 65 $em->flush();
66 66
67 // remove orphan tag in case no entries are associated to it 67 // remove orphan tag in case no entries are associated to it
68 if (0 === count($tag->getEntries())) { 68 if (0 === \count($tag->getEntries())) {
69 $em->remove($tag); 69 $em->remove($tag);
70 $em->flush(); 70 $em->flush();
71 } 71 }