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 dd572f6 commit 6e1452dCopy full SHA for 6e1452d
DependencyInjection/Configuration.php
@@ -855,8 +855,7 @@ public function getConfigTreeBuilder()
855
->thenInvalid('The token and room have to be specified to use a HipChatHandler')
856
->end()
857
->validate()
858
- ->ifTrue(function ($v) { return 'hipchat' === $v['type'] && !in_array($v['message_format'], ['text', 'html']
859
- ); })
+ ->ifTrue(function ($v) { return 'hipchat' === $v['type'] && !in_array($v['message_format'], ['text', 'html']); })
860
->thenInvalid('The message_format has to be "text" or "html" in a HipChatHandler')
861
862
0 commit comments