Skip to content

Commit

Permalink
Merge pull request #21 from utopia-php/lohanidamodar-patch-1
Browse files Browse the repository at this point in the history
Update Platform.php
  • Loading branch information
lohanidamodar authored Apr 8, 2024
2 parents 6512e76 + 903a45e commit 48910f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platform/Platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function init(string $type, array $params = []): void
case Service::TYPE_WORKER:
$workerName = $params['workerName'] ?? null;

if ($this->worker == null) {
if (! isset($this->worker)) {
$connection = $params['connection'] ?? null;
$workersNum = $params['workersNum'] ?? 0;
$queueName = $params['queueName'] ?? 'v1-'.$workerName;
Expand Down

0 comments on commit 48910f2

Please sign in to comment.