Skip to content

Commit 2614d30

Browse files
authored
fix return types (#50461)
1 parent b1224ee commit 2614d30

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Illuminate/Console/Scheduling/ScheduleRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ protected function shouldInterrupt()
271271
/**
272272
* Ensure the interrupt signal is cleared.
273273
*
274-
* @return bool
274+
* @return void
275275
*/
276276
protected function clearInterruptSignal()
277277
{

src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function createDotenv($app)
9494
* Write the error information to the screen and exit.
9595
*
9696
* @param \Dotenv\Exception\InvalidFileException $e
97-
* @return void
97+
* @return never
9898
*/
9999
protected function writeErrorAndDie(InvalidFileException $e)
100100
{

src/Illuminate/Queue/Listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function memoryExceeded($memoryLimit)
216216
/**
217217
* Stop listening and bail out of the script.
218218
*
219-
* @return void
219+
* @return never
220220
*/
221221
public function stop()
222222
{

src/Illuminate/Routing/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ public function setBindingFields(array $bindingFields)
577577
* Get the parent parameter of the given parameter.
578578
*
579579
* @param string $parameter
580-
* @return string
580+
* @return string|null
581581
*/
582582
public function parentOfParameter($parameter)
583583
{

0 commit comments

Comments
 (0)