@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Doctrine\ORM\QueryBuilder; |
9 | 8 | use Oro\Bundle\FilterBundle\Datasource\Orm\OrmFilterDatasourceAdapter; |
10 | 9 | use Oro\Bundle\FilterBundle\Datasource\Orm\OrmManyRelationBuilder; |
@@ -4,12 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormEvent; |
6 | 6 | use Symfony\Component\Form\FormEvents; |
7 | - |
|
8 | 7 | use Oro\Bundle\FilterBundle\Expression\Date\Compiler; |
9 | 8 | use Oro\Bundle\FilterBundle\Expression\Date\Lexer; |
10 | 9 | use Oro\Bundle\FilterBundle\Expression\Date\Parser; |
11 | 10 | use Oro\Bundle\FilterBundle\Provider\DateModifierInterface; |
12 | - |
|
13 | 11 | use Oro\Bundle\FilterBundle\Form\EventListener\DateFilterSubscriber; |
14 | 12 | |
15 | 13 | class DateFilterSubscriberTest extends \PHPUnit_Framework_TestCase |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
82 | - * @return OptionsResolverInterface|\PHPUnit_Framework_MockObject_MockObject |
|
82 | + * @return OptionsResolverInterface |
|
83 | 83 | */ |
84 | 84 | protected function createMockOptionsResolver() |
85 | 85 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | abstract protected function getTestFormType(); |
155 | 155 | |
156 | 156 | /** |
157 | - * @return array|FormExtensionInterface[] |
|
157 | + * @return FormExtensionInterface[] |
|
158 | 158 | */ |
159 | 159 | protected function getExtensions() |
160 | 160 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * @param string $class |
166 | 166 | * @param array $events |
167 | 167 | * |
168 | - * @return mixed |
|
168 | + * @return MutableFormEventSubscriber |
|
169 | 169 | */ |
170 | 170 | public function getMockSubscriber($class, array $events = []) |
171 | 171 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Form\Extension\Core\View\ChoiceView; |
6 | 6 | use Symfony\Component\Form\FormView; |
7 | 7 | use Symfony\Component\Form\FormInterface; |
8 | - |
|
9 | 8 | use Oro\Bundle\FilterBundle\Form\Type\Filter\AbstractChoiceType; |
10 | 9 | |
11 | 10 | class AbstractChoiceTypeTest extends \PHPUnit_Framework_TestCase |
@@ -281,7 +281,7 @@ |
||
281 | 281 | /** |
282 | 282 | * @param string $propertyPath |
283 | 283 | * @param object|array $item |
284 | - * @return mixed |
|
284 | + * @return \Oro\Bundle\AttachmentBundle\Entity\File |
|
285 | 285 | */ |
286 | 286 | protected function getPropertyValue($propertyPath, $item) |
287 | 287 | { |
@@ -6,10 +6,8 @@ |
||
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | 7 | use Doctrine\ORM\EntityRepository; |
8 | 8 | use Doctrine\ORM\QueryBuilder; |
9 | - |
|
10 | 9 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | 10 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
12 | - |
|
13 | 11 | use Oro\Bundle\SearchBundle\Engine\Indexer; |
14 | 12 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
15 | 13 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param $name |
|
44 | + * @param string $name |
|
45 | 45 | * @return boolean |
46 | 46 | */ |
47 | 47 | public function isAutocompleteGranted($name) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | protected $subBlocks = array(); |
43 | 43 | |
44 | 44 | /** |
45 | - * @param $code |
|
45 | + * @param string $code |
|
46 | 46 | */ |
47 | 47 | public function __construct($code) |
48 | 48 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @param $code |
|
72 | + * @param string $code |
|
73 | 73 | * @return $this |
74 | 74 | */ |
75 | 75 | public function setCode($code) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\FormBundle\Form\DataTransformer; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\QueryBuilder; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\Exception\TransformationFailedException; |
8 | 7 | use Symfony\Component\Form\Exception\UnexpectedTypeException; |
9 | 8 |
@@ -7,9 +7,7 @@ |
||
7 | 7 | use Symfony\Component\PropertyAccess\PropertyPath; |
8 | 8 | use Symfony\Component\Form\Exception\UnexpectedTypeException; |
9 | 9 | use Symfony\Component\Form\Exception\TransformationFailedException; |
10 | - |
|
11 | 10 | use Oro\Bundle\FormBundle\Form\Exception\FormException; |
12 | - |
|
13 | 11 | use Doctrine\ORM\EntityManager; |
14 | 12 | use Doctrine\ORM\QueryBuilder; |
15 | 13 | use Doctrine\ORM\Mapping\MappingException; |