@@ -80,13 +80,13 @@ |
||
| 80 | 80 | function cleanFormattedContent(): void |
| 81 | 81 | { |
| 82 | 82 | cleanOneTable('product', [ |
| 83 | - 'description' => fn ($v) => cleanRichText($v), |
|
| 84 | - 'content' => fn ($v) => strip_tags($v), |
|
| 83 | + 'description' => fn($v) => cleanRichText($v), |
|
| 84 | + 'content' => fn($v) => strip_tags($v), |
|
| 85 | 85 | ]); |
| 86 | 86 | |
| 87 | 87 | cleanOneTable('news', [ |
| 88 | - 'description' => fn ($v) => strip_tags($v), |
|
| 89 | - 'content' => fn ($v) => cleanRichText($v), |
|
| 88 | + 'description' => fn($v) => strip_tags($v), |
|
| 89 | + 'content' => fn($v) => cleanRichText($v), |
|
| 90 | 90 | ]); |
| 91 | 91 | } |
| 92 | 92 | |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | declare(strict_types=1); |
| 4 | 4 | |
| 5 | - return [ |
|
| 5 | + return [ |
|
| 6 | 6 | [ |
| 7 | 7 | 'query' => 'mutation { |
| 8 | 8 | requestMembershipEnd |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | Helper::throwIfDenied(new Order(), 'create'); |
| 40 | 40 | |
| 41 | 41 | $input = $args['input']; |
| 42 | - $input['orderLines'] = array_map(fn ($line) => Utility::entityIdToModel($line), $input['orderLines']); |
|
| 42 | + $input['orderLines'] = array_map(fn($line) => Utility::entityIdToModel($line), $input['orderLines']); |
|
| 43 | 43 | |
| 44 | 44 | /** @var Invoicer $invoicer */ |
| 45 | 45 | $invoicer = $container->get(Invoicer::class); |