File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ private function declareQueue($name)
175175 $ name = $ this ->getQueueName ($ name );
176176 $ exchange = $ this ->configExchange ['name ' ] ?: $ name ;
177177
178- if ($ this ->declareExchange && !in_array ($ exchange , $ this ->declaredExchanges )) {
178+ if ($ this ->declareExchange && ! in_array ($ exchange , $ this ->declaredExchanges )) {
179179 $ this ->declaredExchanges [] = $ exchange ;
180180 // declare exchange
181181 $ this ->channel ->exchange_declare (
@@ -187,7 +187,7 @@ private function declareQueue($name)
187187 );
188188 }
189189
190- if ($ this ->declareBindQueue && !in_array ($ name , $ this ->declaredBindQueue )) {
190+ if ($ this ->declareBindQueue && ! in_array ($ name , $ this ->declaredBindQueue )) {
191191 $ this ->declaredBindQueue [] = $ name ;
192192 // declare queue
193193 $ this ->channel ->queue_declare (
You can’t perform that action at this time.
0 commit comments