@@ -4,7 +4,7 @@ |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace App\Services\DataProviders; |
10 | 10 |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace App\Providers; |
10 | 10 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | public function register(): void |
22 | 22 | { |
23 | - $this->app->singleton(Manager::class, function (Application $app) { |
|
23 | + $this->app->singleton(Manager::class, function(Application $app) { |
|
24 | 24 | $config = $app->make(Repository::class); |
25 | 25 | $providers = (array) $config->get('data-providers.providers', []); |
26 | 26 |
@@ -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\Models\Article; |
11 | 11 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | public function saving(Article $article): void |
39 | 39 | { |
40 | 40 | if ($article->content_source) { |
41 | - if (! $article->preview_source) { |
|
41 | + if (!$article->preview_source) { |
|
42 | 42 | $article->preview_source = Str::words($article->content_source, 100, '…'); |
43 | 43 | } |
44 | 44 |
@@ -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\Models; |
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\Models; |
12 | 12 |
@@ -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\Models\Article; |
12 | 12 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | public function saving(Article $article): void |
41 | 41 | { |
42 | - if ($article->content_rendered && ! $article->content_source) { |
|
42 | + if ($article->content_rendered && !$article->content_source) { |
|
43 | 43 | return; |
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\Views\Composers; |
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\Http\Controllers; |
12 | 12 |
@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace App\Services; |
10 | 10 | |
@@ -63,6 +63,6 @@ discard block |
||
63 | 63 | */ |
64 | 64 | private function isMatched(string $needle): bool |
65 | 65 | { |
66 | - return Str::startsWith($this->route->getName(), $needle . '.'); |
|
66 | + return Str::startsWith($this->route->getName(), $needle.'.'); |
|
67 | 67 | } |
68 | 68 | } |