@@ -7,8 +7,8 @@ |
||
7 | 7 | <?php if ($app->has('url')): ?> |
8 | 8 | |
9 | 9 | <?php |
10 | - $url = urlencode($app->get('url')); |
|
11 | - $bookmarklet = <<<BOOKMARKLET |
|
10 | + $url = urlencode($app->get('url')); |
|
11 | + $bookmarklet = <<<BOOKMARKLET |
|
12 | 12 | (function () { |
13 | 13 | if (document.location.href.indexOf('{$app->get('url')}') !== 0 || document.location.href.indexOf('{$app->getUri()}') === 0) { |
14 | 14 | alert('This bookmarklet is only valid for \'{$url}\''); |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function getServices() |
12 | 12 | { |
13 | 13 | return [ |
14 | - 'builder' => function (App $app): FormatFactory { |
|
15 | - return new FormatFactory($app); |
|
16 | - } |
|
14 | + 'builder' => function (App $app): FormatFactory { |
|
15 | + return new FormatFactory($app); |
|
16 | + } |
|
17 | 17 | ]; |
18 | 18 | } |
19 | 19 | } |