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