@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * @param string $suffix |
143 | 143 | * @param bool $isJSON |
144 | 144 | * @param bool $isShort |
145 | - * @return $this |
|
145 | + * @return string |
|
146 | 146 | */ |
147 | 147 | public function render( |
148 | 148 | $params = [], |
@@ -454,6 +454,7 @@ discard block |
||
454 | 454 | * |
455 | 455 | * @param $title |
456 | 456 | * @param $route |
457 | + * @return string |
|
457 | 458 | */ |
458 | 459 | protected function getShortTitle($title, $route) |
459 | 460 | { |
@@ -4,16 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
7 | - |
|
8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
12 | - |
|
13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
16 | - |
|
17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |
@@ -2,9 +2,7 @@ |
||
2 | 2 | namespace Oro\Bundle\NavigationBundle\Tests\Unit\Menu; |
3 | 3 | |
4 | 4 | use Oro\Bundle\NavigationBundle\Menu\BreadcrumbManager; |
5 | - |
|
6 | 5 | use Knp\Menu\MenuItem; |
7 | -use Oro\Bundle\NavigationBundle\Menu\ConfigurationBuilder; |
|
8 | 6 | use Oro\Bundle\NavigationBundle\Provider\BuilderChainProvider; |
9 | 7 | |
10 | 8 | class BreadcrumbManagerTest extends \PHPUnit_Framework_TestCase |
@@ -137,7 +137,7 @@ |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param $filePattern |
|
140 | + * @param string $filePattern |
|
141 | 141 | * @param array $dirs |
142 | 142 | * |
143 | 143 | * @return array |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -120,7 +120,7 @@ |
||
120 | 120 | /** |
121 | 121 | * Get menu filtered by isAllowed children. |
122 | 122 | * |
123 | - * @param ItemInterface|array $menu |
|
123 | + * @param ItemInterface $menu |
|
124 | 124 | * @return ItemInterface|array |
125 | 125 | */ |
126 | 126 | protected function filterUnallowedItems($menu) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Register new token parser |
45 | 45 | * |
46 | - * @return array |
|
46 | + * @return TitleSetTokenParser[] |
|
47 | 47 | */ |
48 | 48 | public function getTokenParsers() |
49 | 49 | { |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Renders title |
57 | 57 | * |
58 | - * @param null $titleData |
|
59 | - * @return string |
|
58 | + * @param string $titleData |
|
59 | + * @return TitleServiceInterface |
|
60 | 60 | */ |
61 | 61 | public function render($titleData = null) |
62 | 62 | { |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * Renders short title |
70 | 70 | * |
71 | - * @param null $titleData |
|
72 | - * @return string |
|
71 | + * @param string $titleData |
|
72 | + * @return TitleServiceInterface |
|
73 | 73 | */ |
74 | 74 | public function renderShort($titleData = null) |
75 | 75 | { |
@@ -3,16 +3,10 @@ |
||
3 | 3 | namespace Oro\Bundle\NoteBundle\Controller\Api\Soap; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | - |
|
7 | 6 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
8 | - |
|
9 | -use Oro\Bundle\SecurityBundle\Annotation\Acl; |
|
10 | 7 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
11 | - |
|
12 | 8 | use Oro\Bundle\EntityBundle\Model\EntityIdSoap; |
13 | - |
|
14 | 9 | use Oro\Bundle\NoteBundle\Entity\Repository\NoteRepository; |
15 | - |
|
16 | 10 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
17 | 11 | use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController; |
18 | 12 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
@@ -3,16 +3,11 @@ |
||
3 | 3 | namespace Oro\Bundle\NoteBundle\Controller; |
4 | 4 | |
5 | 5 | use Symfony\Component\Security\Core\Util\ClassUtils; |
6 | - |
|
7 | 6 | use FOS\RestBundle\Util\Codes; |
8 | - |
|
9 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
10 | -use Symfony\Bundle\FrameworkBundle\Routing\Router; |
|
11 | 8 | use Symfony\Component\HttpFoundation\Response; |
12 | - |
|
13 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
14 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
15 | - |
|
16 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
17 | 12 | use Oro\Bundle\EntityBundle\Tools\EntityRoutingHelper; |
18 | 13 | use Oro\Bundle\NoteBundle\Entity\Note; |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * |
48 | 48 | * @param object $target Any configurable entity that can have notes |
49 | 49 | * |
50 | - * @return object This object |
|
50 | + * @return ExtendNote This object |
|
51 | 51 | */ |
52 | 52 | public function setTarget($target) |
53 | 53 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * Checks if command is already queued. |
63 | 63 | * |
64 | 64 | * @param string $command |
65 | - * @return Job |
|
65 | + * @return boolean |
|
66 | 66 | */ |
67 | 67 | protected function hasNotFinishedJob($command) |
68 | 68 | { |
@@ -4,16 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
7 | - |
|
8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
12 | - |
|
13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
16 | - |
|
17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |