Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,17 +3,13 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\NavigationBundle\Controller\Api;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6
-
7 6
 use Doctrine\Common\Persistence\ObjectRepository;
8
-
9 7
 use FOS\RestBundle\Controller\FOSRestController;
10 8
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
11 9
 use FOS\RestBundle\Controller\Annotations\QueryParam;
12 10
 use FOS\RestBundle\Routing\ClassResourceInterface;
13 11
 use FOS\RestBundle\Util\Codes;
14
-
15 12
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
16
-
17 13
 use Oro\Bundle\NavigationBundle\Entity\AbstractPageState;
18 14
 
19 15
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Controller/ShortcutController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,16 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
-
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
10
-
11 9
 use Knp\Menu\Iterator\RecursiveItemIterator;
12 10
 use Knp\Menu\ItemInterface;
13 11
 use Knp\Menu\MenuItem;
14
-
15 12
 use Oro\Bundle\NavigationBundle\Provider\BuilderChainProvider;
16
-use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 13
 
18 14
 /**
19 15
  * @Route("/shortcut")
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/DependencyInjection/Configuration.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Add children nodes to menu
41 41
      *
42
-     * @param $node NodeBuilder
42
+     * @param NodeBuilder $node NodeBuilder
43 43
      * @return Configuration
44 44
      *
45 45
      * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
6 6
 use Symfony\Component\Config\Definition\Builder\NodeBuilder;
7 7
 use Symfony\Component\Config\Definition\ConfigurationInterface;
8
-
9 8
 use Oro\Bundle\ConfigBundle\DependencyInjection\SettingsBuilder;
10 9
 use Oro\Bundle\NavigationBundle\Config\Definition\Builder\MenuTreeBuilder;
11 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Entity/AbstractNavigationHistoryItem.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\NavigationBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
8 7
 use Oro\Bundle\UserBundle\Entity\AbstractUser;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Entity/Builder/AbstractBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Find navigation item
44 44
      *
45
-     * @param $params
45
+     * @param integer $params
46 46
      * @return object|null
47 47
      */
48 48
     abstract public function findItem($params);
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Entity/Repository/HistoryItemRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityRepository;
6 6
 use Doctrine\ORM\Query\Expr;
7
-
8 7
 use Oro\Bundle\NavigationBundle\Entity\NavigationHistoryItem;
9 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
10 9
 
Please login to merge, or discard this patch.
Oro/Bundle/NavigationBundle/Entity/Repository/NavigationItemRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityRepository;
6 6
 use Doctrine\ORM\Query\Expr;
7
-
8 7
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Entity/Repository/PinbarTabRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Increment positions of Pinbar tabs for specified user
54 54
      *
55
-     * @param User|integer $user
55
+     * @param User $user
56 56
      * @param int          $navigationItemId
57 57
      * @param Organization $organization
58 58
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityRepository;
6 6
 use Doctrine\ORM\Query\Expr;
7
-
8 7
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
9 8
 use Oro\Bundle\UserBundle\Entity\User;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/NavigationBundle/Entity/Title.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
     /**
147 147
      * Returns is title not changed in db
148 148
      *
149
-     * @return bool
149
+     * @return string
150 150
      */
151 151
     public function getIsSystem()
152 152
     {
Please login to merge, or discard this patch.