We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea8209b commit aed7085Copy full SHA for aed7085
src/Rotater.php
@@ -283,8 +283,8 @@ public function makeBatch(bool $withHorizon=false): PendingBatch
283
$queue = config('rotation.queue', 'default');
284
285
if ($queue !== 'default') {
286
- if (!is_string($queue) && !($queue instanceof \UnitEnum)) {
287
- throw new ConfigurationException('The configured queue must be a string or an instance of UnitEnum. (config path: rotation.queue)');
+ if (!is_string($queue)) {
+ throw new ConfigurationException('The configured queue must be a string. (config path: rotation.queue)');
288
}
289
$batch->onQueue($queue);
290
0 commit comments