Skip to content

Commit 6e1452d

Browse files
committed
Final one
1 parent dd572f6 commit 6e1452d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,7 @@ public function getConfigTreeBuilder()
855855
->thenInvalid('The token and room have to be specified to use a HipChatHandler')
856856
->end()
857857
->validate()
858-
->ifTrue(function ($v) { return 'hipchat' === $v['type'] && !in_array($v['message_format'], ['text', 'html']
859-
); })
858+
->ifTrue(function ($v) { return 'hipchat' === $v['type'] && !in_array($v['message_format'], ['text', 'html']); })
860859
->thenInvalid('The message_format has to be "text" or "html" in a HipChatHandler')
861860
->end()
862861
->validate()

0 commit comments

Comments
 (0)