@@ -285,7 +285,7 @@ |
||
| 285 | 285 | } |
| 286 | 286 | |
| 287 | 287 | /** |
| 288 | - * @return EmailRenderer|\PHPUnit_Framework_MockObject_MockObject |
|
| 288 | + * @return string |
|
| 289 | 289 | */ |
| 290 | 290 | public function getRendererInstance() |
| 291 | 291 | { |
@@ -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; |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @param $type |
|
| 36 | + * @param string $type |
|
| 37 | 37 | * @param null $data |
| 38 | 38 | * @param array $options |
| 39 | 39 | * |
@@ -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; |
@@ -4,15 +4,11 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpFoundation\Response; |
| 6 | 6 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
| 7 | - |
|
| 8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
| 9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
| 10 | 9 | use FOS\RestBundle\Controller\FOSRestController; |
| 11 | -use FOS\RestBundle\Controller\Annotations\QueryParam; |
|
| 12 | -use FOS\RestBundle\Controller\Annotations\Get; |
|
| 13 | 10 | use FOS\RestBundle\Util\Codes; |
| 14 | 11 | use FOS\RestBundle\Controller\Annotations as Rest; |
| 15 | - |
|
| 16 | 12 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
| 17 | 13 | |
| 18 | 14 | /** |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | * @param string $entityName |
| 313 | 313 | * @param string $id |
| 314 | 314 | * |
| 315 | - * @return array |
|
| 315 | + * @return JsonResponse |
|
| 316 | 316 | * |
| 317 | 317 | * @Route( |
| 318 | 318 | * "/delete/{entityName}/item/{id}", |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | * |
| 351 | 351 | * @param string $permission |
| 352 | 352 | * @param string $entityName |
| 353 | - * @return bool |
|
| 353 | + * @return boolean|null |
|
| 354 | 354 | * @throws AccessDeniedException |
| 355 | 355 | */ |
| 356 | 356 | private function checkAccess($permission, $entityName) |
@@ -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; |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | * Specifies an item that is to be returned in the query result. |
| 248 | 248 | * Replaces any previously specified selections, if any. |
| 249 | 249 | * |
| 250 | - * @param mixed $select The selection expressions. |
|
| 250 | + * @param null|string $select The selection expressions. |
|
| 251 | 251 | * |
| 252 | 252 | * @return self |
| 253 | 253 | */ |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | - * @param $entity |
|
| 144 | + * @param SomeEntity $entity |
|
| 145 | 145 | * @param string $method |
| 146 | 146 | * @param int $count |
| 147 | 147 | */ |
@@ -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; |
@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Oro\Bundle\EntityBundle\Tests\Unit\ORM; |
| 4 | 4 | |
| 5 | -use Doctrine\Common\Collections\Criteria; |
|
| 6 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
| 7 | - |
|
| 8 | 6 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
| 9 | 7 | use Oro\Bundle\EntityBundle\Tests\Unit\ORM\Fixtures\TestEntity; |
| 10 | 8 | use Oro\Bundle\EntityBundle\Tests\Unit\ORM\Stub\ItemStub; |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * @param \PHPUnit_Framework_MockObject_MockObject|null $emMock |
| 97 | 97 | * @param boolean $isReturnManager |
| 98 | 98 | * |
| 99 | - * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 99 | + * @return \Doctrine\Common\Persistence\ManagerRegistry |
|
| 100 | 100 | */ |
| 101 | 101 | protected function getDoctrineMock($emMock = null, $isReturnManager = true) |
| 102 | 102 | { |
@@ -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; |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return UserInterface|null |
|
| 110 | + * @return UserInterface |
|
| 111 | 111 | */ |
| 112 | 112 | protected function getUser() |
| 113 | 113 | { |
@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\EventManager; |
| 6 | 6 | use Doctrine\DBAL\Driver\Connection; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
| 9 | - |
|
| 10 | 8 | use Oro\Component\TestUtils\ORM\Mocks\DriverMock; |
| 11 | 9 | use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock; |
| 12 | 10 | |