@@ -44,6 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * NEXT_MAJOR: Make $propertyAccessor mandatory. |
| 47 | + * @param \Symfony\Component\PropertyAccess\PropertyAccessor $propertyAccessor |
|
| 47 | 48 | */ |
| 48 | 49 | public function __construct(ManagerRegistry $registry, ?PropertyAccessorInterface $propertyAccessor = null) |
| 49 | 50 | { |
@@ -538,7 +539,7 @@ discard block |
||
| 538 | 539 | * |
| 539 | 540 | * @param string $property |
| 540 | 541 | * |
| 541 | - * @return mixed |
|
| 542 | + * @return string |
|
| 542 | 543 | */ |
| 543 | 544 | protected function camelize($property) |
| 544 | 545 | { |
@@ -158,6 +158,7 @@ |
||
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | 160 | * @param int|string $type |
| 161 | + * @return string |
|
| 161 | 162 | */ |
| 162 | 163 | private function getTemplate($type): ?string |
| 163 | 164 | { |
@@ -110,6 +110,7 @@ |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * @param int|string $type |
| 113 | + * @return string |
|
| 113 | 114 | */ |
| 114 | 115 | private function getTemplate($type): ?string |
| 115 | 116 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sonata\DoctrineMongoDBAdminBundle\Tests\Filter; |
| 15 | 15 | |
| 16 | -use Sonata\AdminBundle\Form\Type\Filter\DateType; |
|
| 17 | 16 | use Sonata\AdminBundle\Form\Type\Operator\DateOperatorType; |
| 18 | 17 | use Sonata\DoctrineMongoDBAdminBundle\Datagrid\ProxyQuery; |
| 19 | 18 | use Sonata\DoctrineMongoDBAdminBundle\Filter\DateTimeFilter; |