@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | // webtrees uses http_build_query() to generate URLs - which maps false onto "0". |
| 70 | 70 | // Aura uses rawurlencode(), which maps false onto "" - which does not work as an aura URL parameter. |
| 71 | - $parameters = array_map(static fn ($var) => is_bool($var) ? (int) $var : $var, $parameters); |
|
| 71 | + $parameters = array_map(static fn($var) => is_bool($var) ? (int) $var : $var, $parameters); |
|
| 72 | 72 | |
| 73 | 73 | $url = $router_container->getGenerator()->generate($route_name, $parameters); |
| 74 | 74 | |
@@ -228,7 +228,7 @@ |
||
| 228 | 228 | 'style' => Validator::parsedBody($request)->isInArrayKeys($this->styles())->string('style'), |
| 229 | 229 | 'width' => Validator::parsedBody($request)->isBetween(self::MINIMUM_WIDTH, self::MAXIMUM_WIDTH)->integer('width'), |
| 230 | 230 | 'xref' => Validator::parsedBody($request)->isXref()->string('xref'), |
| 231 | - ])); |
|
| 231 | + ])); |
|
| 232 | 232 | } |
| 233 | 233 | |
| 234 | 234 | Auth::checkComponentAccess($this, ModuleChartInterface::class, $tree, $user); |