Unused middleware classes removed

This commit is contained in:
2022-05-19 12:41:33 +02:00
parent 4b77705927
commit 1119840656
10 changed files with 37 additions and 122 deletions

View File

@@ -1,20 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts()
public function hosts(): array
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}