From d0d6990d3983f51269eded5e3e0088b5cfb2f956 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 28 Sep 2021 22:27:21 +1000 Subject: [PATCH] Minor cosmetic changes --- .editorconfig | 3 +++ app/Traits/SingleOrFail.php | 2 +- artisan | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 699bee6..811eca2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,6 @@ trim_trailing_whitespace = false [*.{yml,yaml}] indent_size = 2 + +[docker-compose.yml] +indent_size = 4 diff --git a/app/Traits/SingleOrFail.php b/app/Traits/SingleOrFail.php index 571761d..e08bed4 100644 --- a/app/Traits/SingleOrFail.php +++ b/app/Traits/SingleOrFail.php @@ -10,7 +10,7 @@ use Illuminate\Database\Eloquent\ModelNotFoundException; trait SingleOrFail { - private static function bootSingleOrFail() + private static function bootSingleOrFail(): void { // When a query should return 1 object, or FAIL if it doesnt Builder::macro('singleOrFail',function () { diff --git a/artisan b/artisan index 5c23e2e..67a3329 100755 --- a/artisan +++ b/artisan @@ -11,7 +11,7 @@ define('LARAVEL_START', microtime(true)); | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it! We'll require it | into the script here so that we do not have to worry about the -| loading of any our classes "manually". Feels great to relax. +| loading of any of our classes manually. It's great to relax. | */