Add return type

pull/675/head
Arshid 6 days ago
parent 1833907181
commit e644461129

@ -33,7 +33,7 @@ class AiGenerateInstructionsCommand extends AbstractBaseCommand
* *
* @return int * @return int
*/ */
public function execute() public function execute(): int
{ {
$io = $this->app()->io(); $io = $this->app()->io();

@ -27,7 +27,7 @@ class AiInitCommand extends AbstractBaseCommand
* *
* @return int * @return int
*/ */
public function execute() public function execute(): int
{ {
$io = $this->app()->io(); $io = $this->app()->io();

@ -26,7 +26,7 @@ class ControllerCommand extends AbstractBaseCommand
* *
* @return void * @return void
*/ */
public function execute(string $controller) public function execute(string $controller): void
{ {
$io = $this->app()->io(); $io = $this->app()->io();

@ -37,7 +37,7 @@ class RouteCommand extends AbstractBaseCommand
* *
* @return void * @return void
*/ */
public function execute() public function execute(): void
{ {
$io = $this->app()->io(); $io = $this->app()->io();

@ -375,7 +375,7 @@ class Request
* *
* @return string * @return string
*/ */
public static function header(string $header, $default = '') public static function header(string $header, $default = ''): string
{ {
return self::getHeader($header, $default); return self::getHeader($header, $default);
} }

Loading…
Cancel
Save