composer update && add warning text
This commit is contained in:
1 parent
8155038df8
commit
6e8f30a1b9
16 files changed
+695
-450
No files matched your search
@@ -4,7 +4,6 @@
|
||||
|
||||
use Illuminate\Auth\Access\AuthorizationException;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
|
||||
trait NovaSberPaymentOrderAuth
|
||||
{
|
||||
@@ -21,7 +20,7 @@ public function authorizeToView(Request $request)
|
||||
return;
|
||||
}
|
||||
|
||||
throw new AuthorizationException();
|
||||
throw new AuthorizationException;
|
||||
}
|
||||
|
||||
/** Edit button */
|
||||
@@ -49,7 +48,7 @@ public function authorizeToUpdate(Request $request): void
|
||||
return;
|
||||
}
|
||||
|
||||
throw new AuthorizationException();
|
||||
throw new AuthorizationException;
|
||||
}
|
||||
|
||||
/** Delete button */
|
||||
@@ -73,7 +72,7 @@ public function authorizeToDelete(Request $request)
|
||||
return;
|
||||
}
|
||||
|
||||
throw new AuthorizationException();
|
||||
throw new AuthorizationException;
|
||||
}
|
||||
|
||||
/** Force delete */
|
||||
|
||||
Reference in new issue
Block a user