Skip to content

Commit dc2a470

Browse files
committed
try fixing tests on travis.
1 parent 46eff71 commit dc2a470

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/enqueue/Symfony/AmqpTransportFactory.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ public function addConfiguration(ArrayNodeDefinition $builder)
4747

4848
$builder
4949
->beforeNormalization()
50-
->ifEmpty()
50+
->ifTrue(function ($v) {
51+
return empty($v);
52+
})
5153
->then(function ($v) {
5254
return ['dsn' => 'amqp:'];
5355
})

0 commit comments

Comments
 (0)