@@ -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; |
@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return $this |
|
73 | + * @return TrackingWebsites |
|
74 | 74 | */ |
75 | 75 | public function delete() |
76 | 76 | { |
@@ -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) |
@@ -129,6 +129,9 @@ discard block |
||
129 | 129 | $this->runUploadDownloadTest('download'); |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $commandName |
|
134 | + */ |
|
132 | 135 | public function runUploadDownloadTest($commandName, $args = []) |
133 | 136 | { |
134 | 137 | $kernel = new TestKernel(); |
@@ -216,7 +219,7 @@ discard block |
||
216 | 219 | * |
217 | 220 | * @param array $methods |
218 | 221 | * |
219 | - * @return \PHPUnit_Framework_MockObject_MockObject|OroTranslationPackCommand |
|
222 | + * @return \Symfony\Component\Console\Command\Command |
|
220 | 223 | */ |
221 | 224 | protected function getCommandMock($methods = array('asText')) |
222 | 225 | { |
@@ -227,7 +230,7 @@ discard block |
||
227 | 230 | } |
228 | 231 | |
229 | 232 | /** |
230 | - * @param $class |
|
233 | + * @param string $class |
|
231 | 234 | * |
232 | 235 | * @return \PHPUnit_Framework_MockObject_MockObject |
233 | 236 | */ |
@@ -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; |
@@ -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; |
@@ -153,6 +153,7 @@ |
||
153 | 153 | |
154 | 154 | /** |
155 | 155 | * {@inheritdoc} |
156 | + * @param string $locale |
|
156 | 157 | */ |
157 | 158 | protected function loadCatalogue($locale) |
158 | 159 | { |
@@ -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 |