@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | if ($this->eventManager) { |
54 | - $data = ['id' => $id]; |
|
54 | + $data = [ 'id' => $id ]; |
|
55 | 55 | $event = $this->eventManager->createEvent('delete.validation', null, $data); |
56 | 56 | $this->eventManager->trigger($event); |
57 | 57 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param array $filter |
82 | 82 | * @return EntityInterface[]|null |
83 | 83 | */ |
84 | - public function deleteAll(array $filter = []) |
|
84 | + public function deleteAll(array $filter = [ ]) |
|
85 | 85 | { |
86 | 86 | $criteria = $this->repository->createCriteria($filter); |
87 | 87 | $entities = $this->repository->findMany($criteria); |