]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/TagController.php
CS
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / TagController.php
index be2dff98b3b62fcb69849f505fba3be6e7659929..616c37f2c63e23fdb9a407aec3f294bd67d57207 100644 (file)
@@ -65,7 +65,7 @@ class TagController extends Controller
         $em->flush();
 
         // remove orphan tag in case no entries are associated to it
-        if (count($tag->getEntries()) === 0) {
+        if (0 === count($tag->getEntries())) {
             $em->remove($tag);
             $em->flush();
         }