@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | - * @param CriteriaInterface|array $criteria |
|
| 130 | + * @param CriteriaInterface $criteria |
|
| 131 | 131 | * @return EntityInterface|null |
| 132 | 132 | */ |
| 133 | 133 | public function find($criteria) |
@@ -170,8 +170,8 @@ discard block |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * @param CriteriaInterface|array $criteria |
|
| 174 | - * @return EntityInterface[] |
|
| 173 | + * @param CriteriaInterface $criteria |
|
| 174 | + * @return ArrayObject |
|
| 175 | 175 | */ |
| 176 | 176 | public function findMany($criteria) |
| 177 | 177 | { |
@@ -256,7 +256,7 @@ |
||
| 256 | 256 | /** |
| 257 | 257 | * @param EntityInterface $createdEntity |
| 258 | 258 | */ |
| 259 | - protected function triggerCreate(EntityInterface &$createdEntity) |
|
| 259 | + protected function triggerCreate(EntityInterface&$createdEntity) |
|
| 260 | 260 | { |
| 261 | 261 | $this->eventManager->addIdentifiers(get_class($createdEntity)); |
| 262 | 262 | |
@@ -296,7 +296,7 @@ |
||
| 296 | 296 | /** |
| 297 | 297 | * @param EntityInterface $createdEntity |
| 298 | 298 | */ |
| 299 | - protected function triggerCreate(EntityInterface &$createdEntity) |
|
| 299 | + protected function triggerCreate(EntityInterface&$createdEntity) |
|
| 300 | 300 | { |
| 301 | 301 | $this->eventManager->addIdentifiers(get_class($createdEntity)); |
| 302 | 302 | |