| @@ -199,12 +199,12 @@ | ||
| 199 | 199 | protected function processEvent(Repository $repository, AbstractEntity $model, string $modus) | 
| 200 | 200 |      { | 
| 201 | 201 | // define the function for the delete-modus. | 
| 202 | -        $delete = function ($repository, $model) { | |
| 202 | +        $delete = function($repository, $model) { | |
| 203 | 203 | $repository->remove($model); | 
| 204 | 204 | }; | 
| 205 | 205 | |
| 206 | 206 | // define the function for the hide-modus. | 
| 207 | -        $hide = function ($repository, $model) { | |
| 207 | +        $hide = function($repository, $model) { | |
| 208 | 208 | $model->setHidden(true); | 
| 209 | 209 | $repository->update($model); | 
| 210 | 210 | }; |