Skip to content

Commit

Permalink
fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Jul 29, 2023
1 parent 47a75b1 commit 7ec8c4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/QueueManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public static function setConfig(string|array $key, ?array $config = null): void
}

if (isset(static::$_config[$key])) {
/** @psalm-suppress PossiblyInvalidArgument */
throw new BadMethodCallException(sprintf('Cannot reconfigure existing key `%s`', $key));
}

Expand Down Expand Up @@ -134,7 +133,6 @@ public static function setConfig(string|array $key, ?array $config = null): void
Cache::setConfig($config['uniqueCacheKey'], $cacheConfig);
}

/** @psalm-suppress InvalidPropertyAssignmentValue */
static::$_config[$key] = $config;
}

Expand Down

0 comments on commit 7ec8c4b

Please sign in to comment.