Make Upgrade guide changes

This commit is contained in:
Jonny Barnes 2023-02-17 09:41:14 +00:00
parent 9256aae89d
commit cee9d77b50
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
4 changed files with 4 additions and 7 deletions

View file

@ -27,6 +27,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->command('cache:prune-stale-tags')->hourly();
}
/**

View file

@ -56,7 +56,7 @@ class Kernel extends HttpKernel
*
* @var array
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,

View file

@ -53,7 +53,7 @@ class SyndicationTarget extends Model
/**
* Get the service data as a single attribute.
*
* @vreturn Attribute
* @return Attribute
*/
protected function service(): Attribute
{

View file

@ -17,13 +17,9 @@ class AuthServiceProvider extends ServiceProvider
/**
* Register any application authentication / authorization services.
*
* @return void
*/
public function boot()
public function boot(): void
{
$this->registerPolicies();
//
}
}