Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Return the worker instance
Browse files Browse the repository at this point in the history
In the function getGearmanWorker, you need to return the instance of the GearmanWorker
  • Loading branch information
pavkatar committed Jun 11, 2014
1 parent 091964f commit ac11562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mwGearman/Worker/Pecl.php
Expand Up @@ -69,6 +69,8 @@ public function getGearmanWorker()
$this->register($f, array($this, 'proxify'));
}
}

return $this->worker;
}

/**
Expand Down

0 comments on commit ac11562

Please sign in to comment.