@@ -200,7 +200,7 @@ |
||
200 | 200 | |
201 | 201 | /** |
202 | 202 | * @param null|object|array $entity |
203 | - * @param false|true $async |
|
203 | + * @param boolean $refresh |
|
204 | 204 | * @return void |
205 | 205 | * @throws \Exception |
206 | 206 | */ |
@@ -60,6 +60,9 @@ discard block |
||
60 | 60 | $this->refresh = false; |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param string $className |
|
65 | + */ |
|
63 | 66 | private function validateEntity($className) { |
64 | 67 | $type = $this->annotationReader->getClassAnnotation($this->class->getReflectionClass(), Type::class); |
65 | 68 | /** @var Index $index */ |
@@ -202,6 +205,9 @@ discard block |
||
202 | 205 | } |
203 | 206 | } |
204 | 207 | |
208 | + /** |
|
209 | + * @param string $className |
|
210 | + */ |
|
205 | 211 | private function createIndexIfNotExists(Index $index, $className = null) |
206 | 212 | { |
207 | 213 | $indexName = $index->getName(); |