diff --git a/src/Commands/StartRoadRunnerCommand.php b/src/Commands/StartRoadRunnerCommand.php index 7d44455bc..baecbf6bb 100644 --- a/src/Commands/StartRoadRunnerCommand.php +++ b/src/Commands/StartRoadRunnerCommand.php @@ -171,7 +171,7 @@ protected function maxExecutionTime() /** * Get the RPC IP address the server should be available on. * - * @return int + * @return string */ protected function rpcHost() { diff --git a/src/Swoole/SwooleClient.php b/src/Swoole/SwooleClient.php index b6901340b..a0e25bb4a 100644 --- a/src/Swoole/SwooleClient.php +++ b/src/Swoole/SwooleClient.php @@ -140,7 +140,7 @@ public function serveStaticFile(Request $request, RequestContext $context): void $publicPath = $context->publicPath; $octaneConfig = $context->octaneConfig ?? []; - if (! empty($octaneConfig['static_file_headers'] ?? [])) { + if (! empty($octaneConfig['static_file_headers'])) { foreach ($octaneConfig['static_file_headers'] as $pattern => $headers) { if ($request->is($pattern)) { foreach ($headers as $name => $value) {