diff --git a/src/Illuminate/Queue/Jobs/DatabaseJob.php b/src/Illuminate/Queue/Jobs/DatabaseJob.php index 8fdb41801752..5a5644c499e7 100644 --- a/src/Illuminate/Queue/Jobs/DatabaseJob.php +++ b/src/Illuminate/Queue/Jobs/DatabaseJob.php @@ -78,7 +78,7 @@ public function attempts() /** * Get the job identifier. * - * @return string + * @return string|int */ public function getJobId() { diff --git a/src/Illuminate/Queue/Jobs/Job.php b/src/Illuminate/Queue/Jobs/Job.php index 0dee23712fa9..8ec6ac54f805 100755 --- a/src/Illuminate/Queue/Jobs/Job.php +++ b/src/Illuminate/Queue/Jobs/Job.php @@ -67,7 +67,7 @@ abstract class Job /** * Get the job identifier. * - * @return string + * @return string|int|null */ abstract public function getJobId();