@@ -36,6 +36,8 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * {@inheritdoc} |
39 | + * @param string $method |
|
40 | + * @param string $uri |
|
39 | 41 | */ |
40 | 42 | public function request( |
41 | 43 | $method, |
@@ -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 |
@@ -110,7 +110,7 @@ |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\DependencyInjection\ContainerBuilder |
|
113 | + * @return \Symfony\Component\DependencyInjection\ContainerBuilder |
|
114 | 114 | */ |
115 | 115 | protected function getContainerMock() |
116 | 116 | { |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | } |
314 | 314 | |
315 | 315 | /** |
316 | - * @param array $classNames |
|
316 | + * @param string[] $classNames |
|
317 | 317 | * @param bool $force |
318 | 318 | */ |
319 | 319 | protected function loadFixtures(array $classNames, $force = false) |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | } |
355 | 355 | |
356 | 356 | /** |
357 | - * @return ReferenceRepository|null |
|
357 | + * @return ReferenceRepository |
|
358 | 358 | */ |
359 | 359 | protected function getReferenceRepository() |
360 | 360 | { |
@@ -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 |
@@ -52,6 +52,9 @@ |
||
52 | 52 | } |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param boolean $isActive |
|
57 | + */ |
|
55 | 58 | protected function outputTheme(OutputInterface $output, Theme $theme, $isActive) |
56 | 59 | { |
57 | 60 | if ($isActive) { |
@@ -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; |
@@ -180,7 +180,7 @@ |
||
180 | 180 | /** |
181 | 181 | * Get value |
182 | 182 | * |
183 | - * @return float |
|
183 | + * @return string |
|
184 | 184 | */ |
185 | 185 | public function getValue() |
186 | 186 | { |
@@ -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; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param string $method |
42 | - * @param bool $formValid |
|
42 | + * @param bool $isFormValid |
|
43 | 43 | * @param bool $isFlushCalled |
44 | 44 | * |
45 | 45 | * @dataProvider processProvider |
@@ -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; |
@@ -63,7 +63,7 @@ |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @param mixed $key |
|
66 | + * @param string $key |
|
67 | 67 | * @return $this |
68 | 68 | */ |
69 | 69 | public function setKey($key) |
@@ -15,6 +15,10 @@ |
||
15 | 15 | return $someVariable; |
16 | 16 | } |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $arg1 |
|
20 | + * @param string $arg2 |
|
21 | + */ |
|
18 | 22 | protected function someAnotherFunc($arg1, $arg2) |
19 | 23 | { |
20 | 24 | return array($arg1, $arg2); |
@@ -314,7 +314,7 @@ |
||
314 | 314 | } |
315 | 315 | |
316 | 316 | /** |
317 | - * @param array $methods |
|
317 | + * @param string[] $methods |
|
318 | 318 | * @param array $args |
319 | 319 | * |
320 | 320 | * @return \PHPUnit_Framework_MockObject_MockObject|TranslationServiceProvider |
@@ -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; |