diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 438b88369bb..195c35eddf5 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -3402,7 +3402,7 @@ public function dump() /** * Die and dump the current SQL and bindings. * - * @return void + * @return never */ public function dd() { diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 8854e720ca4..4bc14ba1315 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -1104,7 +1104,7 @@ public function isDownForMaintenance() * @param int $code * @param string $message * @param array $headers - * @return void + * @return never * * @throws \Symfony\Component\HttpKernel\Exception\HttpException * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException diff --git a/src/Illuminate/Foundation/helpers.php b/src/Illuminate/Foundation/helpers.php index 5f5a7116870..6473c9e0529 100644 --- a/src/Illuminate/Foundation/helpers.php +++ b/src/Illuminate/Foundation/helpers.php @@ -28,7 +28,7 @@ * @param \Symfony\Component\HttpFoundation\Response|\Illuminate\Contracts\Support\Responsable|int $code * @param string $message * @param array $headers - * @return void + * @return never * * @throws \Symfony\Component\HttpKernel\Exception\HttpException * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException diff --git a/src/Illuminate/Queue/Worker.php b/src/Illuminate/Queue/Worker.php index c67001b31d0..a46a6f79880 100644 --- a/src/Illuminate/Queue/Worker.php +++ b/src/Illuminate/Queue/Worker.php @@ -726,7 +726,7 @@ public function stop($status = 0) * Kill the process. * * @param int $status - * @return void + * @return never */ public function kill($status = 0) { diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 70082658d84..0adb144d25d 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -36,7 +36,7 @@ * @method static string storagePath(string $path = '') * @method static string version() * @method static string|bool environment(string|array ...$environments) - * @method static void abort(int $code, string $message = '', array $headers = []) + * @method static never abort(int $code, string $message = '', array $headers = []) * @method static void boot() * @method static void booted(callable $callback) * @method static void booting(callable $callback) diff --git a/src/Illuminate/Support/Stringable.php b/src/Illuminate/Support/Stringable.php index 895bb9d7e19..a2e23461015 100644 --- a/src/Illuminate/Support/Stringable.php +++ b/src/Illuminate/Support/Stringable.php @@ -789,7 +789,7 @@ public function dump() /** * Dump the string and end the script. * - * @return void + * @return never */ public function dd() {