Minor cosmetic changes
This commit is contained in:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user