@@ -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 | |
@@ -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\Models\DocsPage; |
| 10 | 10 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function saving(DocsPage $page): void |
| 23 | 23 | { |
| 24 | - if (! $page->slug) { |
|
| 24 | + if (!$page->slug) { |
|
| 25 | 25 | $page->slug = Str::slug($page->title); |
| 26 | 26 | } |
| 27 | 27 | } |
@@ -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\Console\Commands; |
| 11 | 11 | |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | private function getLatestBotArticles(): \Generator |
| 112 | 112 | { |
| 113 | 113 | $bots = Bot::query() |
| 114 | - ->with(['articles' => function (MorphMany $relation) { |
|
| 114 | + ->with(['articles' => function(MorphMany $relation) { |
|
| 115 | 115 | return $relation->latest('published_at')->take(1); |
| 116 | 116 | }]) |
| 117 | 117 | ->get(); |
@@ -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\Models; |
| 10 | 10 | |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function getTitleAttribute(string $title): string |
| 47 | 47 | { |
| 48 | - return Str::ucfirst($title) . ' (' . $this->version . ')'; |
|
| 48 | + return Str::ucfirst($title).' ('.$this->version.')'; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |