@@ -34,7 +34,7 @@ |
||
34 | 34 | return preg_replace( |
35 | 35 | // Line folding after 75 characters: RFC-5545/3-1-content-lines |
36 | 36 | // Base on: sabre/vobject |
37 | - '/( |
|
37 | + '/( |
|
38 | 38 | (?:^.)? # 1 additional byte in first line because of missing single space (see next line) |
39 | 39 | .{74} # 75 bytes per line (1 byte is used for a single space added after every CRLF) |
40 | 40 | (?![\x80-\xbf]) # prevent splitting multibyte characters |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * Render a link with action and controller. |
27 | 27 | * |
28 | 28 | * @param array $controllerArguments |
29 | - * @param null $pageUid |
|
29 | + * @param integer $pageUid |
|
30 | 30 | * |
31 | 31 | * @return mixed|string |
32 | 32 | */ |
@@ -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 | }; |