@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace App\Services\ContentRenderer\Anchors; |
11 | 11 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | { |
25 | 25 | $links = []; |
26 | 26 | |
27 | - $body = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function ($data) use (&$links) { |
|
27 | + $body = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function($data) use (&$links) { |
|
28 | 28 | list($data, $tag, $header) = $data; |
29 | 29 | |
30 | 30 | $id = $this->createAnchorName($header); |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Services\ContentRenderer; |
12 | 12 | |
@@ -35,11 +35,11 @@ discard block |
||
35 | 35 | private function removeDisallowedTags(string $body): string |
36 | 36 | { |
37 | 37 | return strip_tags($body, [ |
38 | - 'b', 'strong', // bold |
|
39 | - 'i', 'em', // italic |
|
40 | - 'ul', 'li', 'ol', // list |
|
41 | - 'a', // link |
|
42 | - 'code', 'pre', // code |
|
38 | + 'b', 'strong', // bold |
|
39 | + 'i', 'em', // italic |
|
40 | + 'ul', 'li', 'ol', // list |
|
41 | + 'a', // link |
|
42 | + 'code', 'pre', // code |
|
43 | 43 | ]); |
44 | 44 | } |
45 | 45 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Services\ContentRenderer; |
12 | 12 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace App\Providers; |
11 | 11 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | */ |
24 | 24 | public function register(): void |
25 | 25 | { |
26 | - $this->app->singleton(Guzzle::class, function () { |
|
26 | + $this->app->singleton(Guzzle::class, function() { |
|
27 | 27 | return new Guzzle(); |
28 | 28 | }); |
29 | 29 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Providers; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Providers; |
12 | 12 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace App\Providers; |
11 | 11 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function boot(): void |
27 | 27 | { |
28 | - $this->app->singleton(NavMatcher::class, function (Container $app) { |
|
28 | + $this->app->singleton(NavMatcher::class, function(Container $app) { |
|
29 | 29 | $route = $this->route($app->make(Router::class)); |
30 | 30 | |
31 | 31 | return new NavMatcher($route); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Providers; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Providers; |
12 | 12 |