Passed
Push — release_2_1 ( d91a42...2fa23b )
by Tomasz
20:52
created
web/diag/findRealm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             $expectedName = $addr['hostname'];
133 133
             $protocols = [];
134 134
             if (isset($addr['protocols'])) {
135
-                foreach($addr['protocols'] as $protocol) {
135
+                foreach ($addr['protocols'] as $protocol) {
136 136
                     if ($protocol['enabled']) {
137 137
                         $protocols[] = $protocol['type'];
138 138
                     }
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 $json_data = json_encode($returnArray);
214 214
 
215 215
 if ($token) {
216
-    $loggerInstance->debug(4, 'JSON data written to ' .$jsonDir.'/'.$token);
216
+    $loggerInstance->debug(4, 'JSON data written to '.$jsonDir.'/'.$token);
217 217
     file_put_contents($jsonDir.'/'.$token.'/realm', $json_data);
218 218
 }
219 219
 echo($json_data);
Please login to merge, or discard this patch.