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. | */