Update GearmanManager.php

PHP Warning:  Illegal offset type in /usr/local/share/gearman-manager/GearmanManager.php on line 878

Array was given as $worker instead of string here.