Passed
Push — master ( 0a907c...51f9fe )
by Anton
02:38
created
tests/app/src/Bootloader/WSBootloader.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,17 +21,20 @@
 block discarded – undo
21 21
 
22 22
     public function boot(WebsocketsBootloader $ws, EnvironmentInterface $env): void
23 23
     {
24
-        if ($env->get('RR_BROADCAST_PATH') === null) {
24
+        if ($env->get('RR_BROADCAST_PATH') === null)
25
+        {
25 26
             return;
26 27
         }
27 28
 
28 29
         $ws->authorizeServer($env->get('WS_SERVER_CALLBACK'));
29 30
 
30
-        if ($env->get('WS_TOPIC_CALLBACK') !== null) {
31
+        if ($env->get('WS_TOPIC_CALLBACK') !== null)
32
+        {
31 33
             $ws->authorizeTopic('topic', $env->get('WS_TOPIC_CALLBACK'));
32 34
         }
33 35
 
34
-        if ($env->get('WS_TOPIC_WILDCARD_CALLBACK') !== null) {
36
+        if ($env->get('WS_TOPIC_WILDCARD_CALLBACK') !== null)
37
+        {
35 38
             $ws->authorizeTopic('wildcard.{id}', $env->get('WS_TOPIC_WILDCARD_CALLBACK'));
36 39
         }
37 40
     }
Please login to merge, or discard this patch.