@@ -249,7 +249,7 @@ |
||
249 | 249 | * @param string $_id |
250 | 250 | * @param array $mergeParams |
251 | 251 | * @param array|null $return |
252 | - * @return array|null |
|
252 | + * @return null|callable |
|
253 | 253 | */ |
254 | 254 | public function get($index, $type, $_id, array $mergeParams = [], array &$return = null) { |
255 | 255 | if (!$this->indexExists($index)) { |
@@ -47,6 +47,9 @@ |
||
47 | 47 | $this->validateEntity($classMetadata->name); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $className |
|
52 | + */ |
|
50 | 53 | private function validateEntity($className) { |
51 | 54 | $type = $this->annotationReader->getClassAnnotation($this->class->getReflectionClass(), Type::class); |
52 | 55 |