@@ -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 | { |
@@ -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 | { |