@@ -46,7 +46,7 @@ |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder |
|
49 | + * @param ProxyQueryInterface $queryBuilder |
|
50 | 50 | * @param mixed $parameter |
51 | 51 | */ |
52 | 52 | protected function applyWhere(ProxyQueryInterface $queryBuilder, $parameter) |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | - * @return array |
|
127 | + * @return string[] |
|
128 | 128 | */ |
129 | 129 | public function getAllAliases() |
130 | 130 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @return array |
|
135 | + * @return string[] |
|
136 | 136 | */ |
137 | 137 | public function getRootAliases() |
138 | 138 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * For the record, the $alias value is provided by the association method (and the entity join method) |
80 | 80 | * so the field value is not used here. |
81 | 81 | * |
82 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder |
|
82 | + * @param ProxyQueryInterface $queryBuilder |
|
83 | 83 | * @param string $alias |
84 | 84 | * @param mixed $data |
85 | 85 | * |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder |
|
106 | + * @param ProxyQueryInterface $queryBuilder |
|
107 | 107 | * @param string $alias |
108 | 108 | * @param mixed $data |
109 | 109 | * |
@@ -190,6 +190,9 @@ |
||
190 | 190 | return $fieldDescription; |
191 | 191 | } |
192 | 192 | |
193 | + /** |
|
194 | + * @return string |
|
195 | + */ |
|
193 | 196 | private function getTemplate(string $type): ?string |
194 | 197 | { |
195 | 198 | if (!isset($this->templates[$type])) { |
@@ -103,6 +103,9 @@ |
||
103 | 103 | } |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @return string |
|
108 | + */ |
|
106 | 109 | private function getTemplate(string $type): ?string |
107 | 110 | { |
108 | 111 | if (!isset($this->templates[$type])) { |
@@ -195,6 +195,7 @@ |
||
195 | 195 | |
196 | 196 | /** |
197 | 197 | * @param string[] $classes |
198 | + * @param string $type |
|
198 | 199 | */ |
199 | 200 | private function isAnyInstanceOf(?string $type, array $classes): bool |
200 | 201 | { |
@@ -60,6 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * NEXT_MAJOR: Make $propertyAccessor mandatory. |
63 | + * @param \Symfony\Component\PropertyAccess\PropertyAccessor $propertyAccessor |
|
63 | 64 | */ |
64 | 65 | public function __construct(ManagerRegistry $registry, ?PropertyAccessorInterface $propertyAccessor = null) |
65 | 66 | { |
@@ -661,7 +662,7 @@ discard block |
||
661 | 662 | * |
662 | 663 | * @param string $property |
663 | 664 | * |
664 | - * @return mixed |
|
665 | + * @return string |
|
665 | 666 | */ |
666 | 667 | protected function camelize($property) |
667 | 668 | { |
@@ -944,6 +944,9 @@ |
||
944 | 944 | $this->assertNull($this->modelManager->getNormalizedIdentifier(null)); |
945 | 945 | } |
946 | 946 | |
947 | + /** |
|
948 | + * @param string $class |
|
949 | + */ |
|
947 | 950 | private function getMetadata($class, $isVersioned) |
948 | 951 | { |
949 | 952 | $metadata = new ClassMetadata($class); |