@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param mixed $name |
|
56 | + * @param string $name |
|
57 | 57 | * @return $this |
58 | 58 | */ |
59 | 59 | public function setName($name) |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @return mixed |
|
67 | + * @return string |
|
68 | 68 | */ |
69 | 69 | public function getName() |
70 | 70 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @param mixed $collection |
|
75 | + * @param \Doctrine\ORM\PersistentCollection $collection |
|
76 | 76 | * @return $this |
77 | 77 | */ |
78 | 78 | public function setCollection($collection) |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return mixed |
|
86 | + * @return LoggableCollectionClass[] |
|
87 | 87 | */ |
88 | 88 | public function getCollection() |
89 | 89 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataAuditBundle\Tests\Unit\Fixture; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
8 | 7 | |
9 | 8 | /** |
@@ -3,14 +3,11 @@ |
||
3 | 3 | |
4 | 4 | use Doctrine\ORM\PersistentCollection; |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Loggable\LoggableManager; |
8 | 7 | use Oro\Bundle\DataAuditBundle\Metadata\ClassMetadata; |
9 | - |
|
10 | 8 | use Oro\Bundle\DataAuditBundle\Tests\Unit\Fixture\LoggableClass; |
11 | 9 | use Oro\Bundle\DataAuditBundle\Tests\Unit\Fixture\LoggableCollectionClass; |
12 | 10 | use Oro\Bundle\DataAuditBundle\Tests\Unit\Metadata\AbstractMetadataTest; |
13 | - |
|
14 | 11 | use Oro\Bundle\UserBundle\Entity\User; |
15 | 12 | |
16 | 13 | class LoggableManagerTest extends AbstractMetadataTest |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock; |
10 | 9 |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Oro\Bundle\DataAuditBundle\Tests\Unit\Metadata\Driver; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Metadata\ClassMetadata as BaseClassMetadata; |
8 | 7 | use Oro\Bundle\DataAuditBundle\Metadata\Driver\AnnotationDriver; |
9 | 8 | use Oro\Bundle\DataAuditBundle\Metadata\PropertyMetadata; |
10 | - |
|
11 | 9 | use Oro\Bundle\DataAuditBundle\Tests\Unit\Metadata\AbstractMetadataTest; |
12 | 10 | |
13 | 11 | class AnnotationDriverTest extends AbstractMetadataTest |
@@ -194,6 +194,7 @@ |
||
194 | 194 | * Expects data format for array data |
195 | 195 | * |
196 | 196 | * {@inheritDoc} |
197 | + * @param string $path |
|
197 | 198 | */ |
198 | 199 | public function offsetUnsetByPath($path) |
199 | 200 | { |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
7 | 7 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
8 | 8 | use Symfony\Component\PropertyAccess\PropertyAccessorInterface; |
9 | - |
|
10 | 9 | use Oro\Component\PropertyAccess\PropertyAccessor; |
11 | - |
|
12 | 10 | use Oro\Bundle\DataGridBundle\Exception\LogicException; |
13 | 11 | |
14 | 12 | class Object implements \ArrayAccess, \IteratorAggregate |
@@ -6,12 +6,9 @@ |
||
6 | 6 | use FOS\RestBundle\Controller\Annotations\Post; |
7 | 7 | use FOS\RestBundle\Controller\Annotations\Put; |
8 | 8 | use FOS\RestBundle\Controller\Annotations as Rest; |
9 | - |
|
10 | 9 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
11 | - |
|
12 | 10 | use Symfony\Component\HttpFoundation\Response; |
13 | 11 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
14 | - |
|
15 | 12 | use Oro\Bundle\DataGridBundle\Entity\GridView; |
16 | 13 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 14 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
@@ -5,12 +5,10 @@ |
||
5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
6 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
7 | 7 | use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface; |
8 | - |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | use Symfony\Component\HttpFoundation\JsonResponse; |
11 | 10 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
12 | 11 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
13 | - |
|
14 | 12 | use Oro\Bundle\DataGridBundle\Extension\MassAction\MassActionDispatcher; |
15 | 13 | use Oro\Bundle\DataGridBundle\Exception\UserInputErrorExceptionInterface; |
16 | 14 | use Oro\Bundle\DataGridBundle\Datagrid\Builder; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Datagrid; |
4 | 4 | |
5 | 5 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Event\BuildAfter; |
8 | 7 | use Oro\Bundle\DataGridBundle\Event\BuildBefore; |
9 | 8 | use Oro\Bundle\DataGridBundle\Event\PreBuild; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Query; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecord; |
9 | 8 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
10 | 9 |