From 20765dbbada8dd48997fb24e094ffb09ac0b1872 Mon Sep 17 00:00:00 2001 From: xepozz Date: Sun, 3 Mar 2024 02:22:29 +0000 Subject: [PATCH] Apply Rector changes (CI) --- src/Inspector/Controller/DebugServerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Inspector/Controller/DebugServerController.php b/src/Inspector/Controller/DebugServerController.php index b4782e7..2a3adb7 100644 --- a/src/Inspector/Controller/DebugServerController.php +++ b/src/Inspector/Controller/DebugServerController.php @@ -16,7 +16,7 @@ public function stream( ResponseFactoryInterface $responseFactory ): ResponseInterface { if (\function_exists('pcntl_signal')) { - \pcntl_signal(\SIGINT, static function (): void { + \pcntl_signal(\SIGINT, static function (): never { exit(1); }); }