Skip to content

Commit a1b0a99

Browse files
authored
add missing return datatype (#31654)
1 parent 89a2627 commit a1b0a99

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Illuminate/Queue/Console/ListFailedCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private function extractJobName($payload)
9292
* Match the job name from the payload.
9393
*
9494
* @param array $payload
95-
* @return string
95+
* @return string|null
9696
*/
9797
protected function matchJobName($payload)
9898
{

src/Illuminate/Queue/Jobs/RedisJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function attempts()
110110
/**
111111
* Get the job identifier.
112112
*
113-
* @return string
113+
* @return string|null
114114
*/
115115
public function getJobId()
116116
{

src/Illuminate/Routing/Route.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ public function getDomain()
686686
/**
687687
* Get the prefix of the route instance.
688688
*
689-
* @return string
689+
* @return string|null
690690
*/
691691
public function getPrefix()
692692
{
@@ -734,7 +734,7 @@ public function setUri($uri)
734734
/**
735735
* Get the name of the route instance.
736736
*
737-
* @return string
737+
* @return string|null
738738
*/
739739
public function getName()
740740
{

0 commit comments

Comments
 (0)