@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Get file url |
78 | 78 | * |
79 | - * @param object $parentEntity |
|
79 | + * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass $parentEntity |
|
80 | 80 | * @param string $fieldName |
81 | 81 | * @param File $attachment |
82 | 82 | * @param string $type |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * Get file view html block |
140 | 140 | * |
141 | 141 | * @param \Twig_Environment $environment |
142 | - * @param object $parentEntity |
|
142 | + * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass $parentEntity |
|
143 | 143 | * @param string $fieldName |
144 | 144 | * @param File $attachment |
145 | 145 | * |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * Get attachment image resized with config values |
224 | 224 | * |
225 | - * @param object $parentEntity |
|
225 | + * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestAttachment $parentEntity |
|
226 | 226 | * @param string $fieldName |
227 | 227 | * @param File $attachment |
228 | 228 | * |
@@ -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; |
@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Find job executions created before the given date time |
135 | 135 | * |
136 | - * @param $endTime |
|
136 | + * @param \DateTime $endTime |
|
137 | 137 | * |
138 | 138 | * @return QueryBuilder |
139 | 139 | */ |
@@ -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; |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Get reader |
75 | 75 | * |
76 | - * @return ItemReaderInterface|null |
|
76 | + * @return ItemReaderInterface |
|
77 | 77 | */ |
78 | 78 | public function getReader() |
79 | 79 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * Get writer |
99 | 99 | * |
100 | - * @return ItemWriterInterface|null |
|
100 | + * @return ItemWriterInterface |
|
101 | 101 | */ |
102 | 102 | public function getWriter() |
103 | 103 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * Get processor |
123 | 123 | * |
124 | - * @return ItemProcessorInterface|null |
|
124 | + * @return ItemProcessorInterface |
|
125 | 125 | */ |
126 | 126 | public function getProcessor() |
127 | 127 | { |
@@ -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; |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * Get addresses |
258 | 258 | * |
259 | - * @return ArrayCollection|AbstractAddress[] |
|
259 | + * @return ArrayCollection |
|
260 | 260 | */ |
261 | 261 | public function getAddresses() |
262 | 262 | { |
@@ -438,7 +438,7 @@ discard block |
||
438 | 438 | } |
439 | 439 | |
440 | 440 | /** |
441 | - * @return string |
|
441 | + * @return double |
|
442 | 442 | */ |
443 | 443 | public function getShippingMethod() |
444 | 444 | { |
@@ -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; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | /** |
125 | 125 | * @param mixed $obj |
126 | 126 | * @param string $methodName |
127 | - * @param array $args |
|
127 | + * @param string[] $args |
|
128 | 128 | * @return mixed |
129 | 129 | */ |
130 | 130 | public static function callProtectedMethod($obj, $methodName, array $args) |
@@ -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; |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * @param array $items |
133 | 133 | * |
134 | - * @return array |
|
134 | + * @return integer[] |
|
135 | 135 | */ |
136 | 136 | protected function getParentEventIds(array $items) |
137 | 137 | { |
@@ -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; |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * @param int $entityId |
90 | 90 | * @param int $page |
91 | 91 | * @param int $limit |
92 | - * @param array $filters |
|
92 | + * @param Criteria $filters |
|
93 | 93 | * |
94 | 94 | * @return array |
95 | 95 | */ |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | } |
357 | 357 | |
358 | 358 | /** |
359 | - * @param $entity |
|
359 | + * @param Comment $entity |
|
360 | 360 | * |
361 | 361 | * @return File |
362 | 362 | */ |
@@ -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 |
@@ -21,6 +21,9 @@ |
||
21 | 21 | $this->configProvider = $configProvider; |
22 | 22 | } |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $scope |
|
26 | + */ |
|
24 | 27 | public function addConfigManager($scope, $manager) |
25 | 28 | { |
26 | 29 | $this->configManagers[$scope] = $manager; |
@@ -119,7 +119,7 @@ |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @param $values |
|
122 | + * @param ArrayCollection $values |
|
123 | 123 | * |
124 | 124 | * @return $this |
125 | 125 | */ |