@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @param string $type |
195 | 195 | * |
196 | - * @return callable |
|
196 | + * @return \Closure |
|
197 | 197 | */ |
198 | 198 | protected function getTransportTypeModifierClosure($type) |
199 | 199 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * |
215 | 215 | * @param string $type |
216 | 216 | * |
217 | - * @return callable |
|
217 | + * @return \Closure |
|
218 | 218 | */ |
219 | 219 | protected function getConnectorsModifierClosure($type) |
220 | 220 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | * @param string $integrationType |
237 | 237 | * @param string $transportType |
238 | 238 | * |
239 | - * @return callable |
|
239 | + * @return \Closure |
|
240 | 240 | */ |
241 | 241 | protected function getTransportModifierClosure($integrationType, $transportType) |
242 | 242 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * @param string $type |
268 | 268 | * @param string $formName |
269 | 269 | * |
270 | - * @return callable |
|
270 | + * @return \Closure |
|
271 | 271 | */ |
272 | 272 | protected function getDynamicModifierClosure($type, $formName) |
273 | 273 | { |
@@ -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 |
@@ -86,7 +86,7 @@ |
||
86 | 86 | |
87 | 87 | /** |
88 | 88 | * @param Integration $integration |
89 | - * @return Integration|null |
|
89 | + * @return Integration |
|
90 | 90 | */ |
91 | 91 | protected function getIntegration(Integration $integration) |
92 | 92 | { |
@@ -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 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Delete integration |
41 | 41 | * |
42 | - * @param integration $integration |
|
42 | + * @param Integration $integration |
|
43 | 43 | * |
44 | 44 | * @return bool |
45 | 45 | */ |
@@ -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; |
@@ -179,7 +179,7 @@ |
||
179 | 179 | * |
180 | 180 | * @param string $integrationType |
181 | 181 | * |
182 | - * @return array |
|
182 | + * @return \Symfony\Component\Form\FormInterface |
|
183 | 183 | */ |
184 | 184 | public function getAvailableTransportTypesChoiceList($integrationType) |
185 | 185 | { |
@@ -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; |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * @param mixed $data |
162 | 162 | * @param array $headers |
163 | 163 | * @param array $options |
164 | - * @return string |
|
164 | + * @return GuzzleRestResponse |
|
165 | 165 | * @throws GuzzleRestException |
166 | 166 | */ |
167 | 167 | public function performRequest( |
@@ -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; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * @return null|string |
|
31 | + * @return string |
|
32 | 32 | */ |
33 | 33 | public function getRequestUrl() |
34 | 34 | { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @return RestResponseInterface|null |
|
68 | + * @return RestResponseInterface |
|
69 | 69 | */ |
70 | 70 | public function getResponse() |
71 | 71 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Returns the controller action type. |
55 | 55 | * |
56 | - * @return string|null |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getAction() |
59 | 59 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Returns the layout theme name. |
75 | 75 | * |
76 | - * @return string|null |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | public function getTheme() |
79 | 79 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * Returns the layout context variables. |
125 | 125 | * |
126 | - * @return string[]|null |
|
126 | + * @return string|null |
|
127 | 127 | */ |
128 | 128 | public function getVars() |
129 | 129 | { |
@@ -143,7 +143,7 @@ |
||
143 | 143 | * |
144 | 144 | * @param string $fieldPath |
145 | 145 | * |
146 | - * @return string|null |
|
146 | + * @return string |
|
147 | 147 | */ |
148 | 148 | protected function getParentFieldPath($fieldPath) |
149 | 149 | { |
@@ -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 |