Code cleanup

This commit is contained in:
James Cole
2023-11-04 14:18:49 +01:00
parent 5a35960434
commit ba0843d0bb
211 changed files with 566 additions and 568 deletions

View File

@@ -42,7 +42,7 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
Schema::defaultStringLength(191);
Response::macro('api', function (array $value) {
Response::macro('api', static function (array $value) {
$headers = [
'Cache-Control' => 'no-store',
];