Minor cosmetic changes

This commit is contained in:
Deon George
2021-09-28 22:27:21 +10:00
parent 2c406ba3e9
commit d0d6990d39
3 changed files with 5 additions and 2 deletions

View File

@@ -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 () {