Skip to content

Commit

Permalink
fix return types (#50461)
Browse files Browse the repository at this point in the history
  • Loading branch information
imahmood authored Mar 11, 2024
1 parent b1224ee commit 2614d30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Scheduling/ScheduleRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function shouldInterrupt()
/**
* Ensure the interrupt signal is cleared.
*
* @return bool
* @return void
*/
protected function clearInterruptSignal()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function createDotenv($app)
* Write the error information to the screen and exit.
*
* @param \Dotenv\Exception\InvalidFileException $e
* @return void
* @return never
*/
protected function writeErrorAndDie(InvalidFileException $e)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function memoryExceeded($memoryLimit)
/**
* Stop listening and bail out of the script.
*
* @return void
* @return never
*/
public function stop()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public function setBindingFields(array $bindingFields)
* Get the parent parameter of the given parameter.
*
* @param string $parameter
* @return string
* @return string|null
*/
public function parentOfParameter($parameter)
{
Expand Down

0 comments on commit 2614d30

Please sign in to comment.