Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuravljov committed Jan 6, 2018
1 parent 9fa037b commit f217ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Behavior.php
Expand Up @@ -230,7 +230,7 @@ protected function getPushRecord(JobEvent $event)
*/
protected function getWorkerRecord($event)
{
if (!$this->canTrackWorkers || !$event->sender->getWorkerPid()) {
if (!$this->canTrackWorkers || $event->sender->getWorkerPid() === null) {
return null;
}

Expand Down

0 comments on commit f217ce8

Please sign in to comment.