diff --git a/src/Illuminate/Queue/Jobs/Job.php b/src/Illuminate/Queue/Jobs/Job.php index 4237e123c06f..ba597e69b8d0 100755 --- a/src/Illuminate/Queue/Jobs/Job.php +++ b/src/Illuminate/Queue/Jobs/Job.php @@ -187,7 +187,7 @@ protected function resolveQueueableEntities($data) */ protected function resolveQueueableEntity($value) { - if (is_string($value) && Str::startsWith($value, '::entity::')) { + if (is_string($value) && strpos($value, '::entity::') === 0) { list($marker, $type, $id) = explode('|', $value, 3); return $this->getEntityResolver()->resolve($type, $id);