@@ -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; |
@@ -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,11 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Cache\Cache; |
6 | 6 | use Doctrine\Common\Cache\ClearableCache; |
7 | - |
|
8 | 7 | use Symfony\Component\Translation\Loader\LoaderInterface; |
9 | 8 | use Symfony\Bundle\FrameworkBundle\Translation\Translator as BaseTranslator; |
10 | - |
|
11 | -use Oro\Bundle\EntityBundle\Tools\SafeDatabaseChecker; |
|
12 | 9 | use Oro\Bundle\TranslationBundle\Entity\Translation; |
13 | 10 | |
14 | 11 | class Translator extends BaseTranslator |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Returns significant for building the translation key parts of the class name |
82 | 82 | * |
83 | - * @param $className |
|
83 | + * @param string $className |
|
84 | 84 | * |
85 | 85 | * @return array |
86 | 86 | */ |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * PHP ceil wrapper |
19 | 19 | * |
20 | 20 | * @param float $number |
21 | - * @return int |
|
21 | + * @return double |
|
22 | 22 | */ |
23 | 23 | public function ceil($number) |
24 | 24 | { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | /** |
54 | 54 | * Get translated age string. |
55 | 55 | * |
56 | - * @param string|\DateTime $date |
|
56 | + * @param \DateTime $date |
|
57 | 57 | * @param array $options |
58 | 58 | * @return string |
59 | 59 | */ |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param \Twig_Environment $environment |
49 | - * @param array $data |
|
49 | + * @param string[] $data |
|
50 | 50 | * @param FormView $form |
51 | 51 | * @return array |
52 | 52 | */ |
@@ -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; |