diff --git a/flight/commands/AiGenerateInstructionsCommand.php b/flight/commands/AiGenerateInstructionsCommand.php index cb78e9a..5190c3c 100644 --- a/flight/commands/AiGenerateInstructionsCommand.php +++ b/flight/commands/AiGenerateInstructionsCommand.php @@ -33,7 +33,7 @@ class AiGenerateInstructionsCommand extends AbstractBaseCommand * * @return int */ - public function execute() + public function execute(): int { $io = $this->app()->io(); diff --git a/flight/commands/AiInitCommand.php b/flight/commands/AiInitCommand.php index f24332d..92b468d 100644 --- a/flight/commands/AiInitCommand.php +++ b/flight/commands/AiInitCommand.php @@ -27,7 +27,7 @@ class AiInitCommand extends AbstractBaseCommand * * @return int */ - public function execute() + public function execute(): int { $io = $this->app()->io(); diff --git a/flight/commands/ControllerCommand.php b/flight/commands/ControllerCommand.php index a7c10bc..e61dada 100644 --- a/flight/commands/ControllerCommand.php +++ b/flight/commands/ControllerCommand.php @@ -26,7 +26,7 @@ class ControllerCommand extends AbstractBaseCommand * * @return void */ - public function execute(string $controller) + public function execute(string $controller): void { $io = $this->app()->io(); diff --git a/flight/commands/RouteCommand.php b/flight/commands/RouteCommand.php index d742708..1667934 100644 --- a/flight/commands/RouteCommand.php +++ b/flight/commands/RouteCommand.php @@ -37,7 +37,7 @@ class RouteCommand extends AbstractBaseCommand * * @return void */ - public function execute() + public function execute(): void { $io = $this->app()->io(); diff --git a/flight/net/Request.php b/flight/net/Request.php index 6e9aa93..31ff1b9 100644 --- a/flight/net/Request.php +++ b/flight/net/Request.php @@ -375,7 +375,7 @@ class Request * * @return string */ - public static function header(string $header, $default = '') + public static function header(string $header, $default = ''): string { return self::getHeader($header, $default); }