diff --git a/composer.json b/composer.json index 930fb71..cbe71e1 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "spinx/sidekiq-job-php", + "name": "hosportal/sidekiq-job-php", "description": "Push and schedule jobs to Sidekiq from PHP", "type": "library", "license": "MIT", diff --git a/src/Client.php b/src/Client.php index 653e352..a833f5a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -127,9 +127,11 @@ public function pushBulk($jobs = [], $queue = self::QUEUE) */ private function atomicPush($jobId, $class, $args = [], $queue = self::QUEUE, $retry = true, $doAt = null) { + /* OUTDATED SIDEKIQ SPEC if (array_values($args) !== $args) { throw new Exception('Associative arrays in job args are not allowed'); } + */ if (!is_null($doAt) && !is_float($doAt) && is_string($doAt)) { throw new Exception('at argument needs to be in a unix epoch format. Use microtime(true).');