Test Setup Failed
Pull Request — master (#75)
by
unknown
01:21
created
lib/SSpkS/Handler/SynologyHandler.php 1 patch
Braces   +8 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,15 +45,17 @@
 block discarded – undo
45 45
         $build    = trim($_REQUEST['build']);
46 46
         $channel  = trim($_REQUEST['package_update_channel']);
47 47
 
48
-        if (isset($_REQUEST['language']))
49
-            $language = trim($_REQUEST['language']);
50
-        else
51
-            $language = '';
48
+        if (isset($_REQUEST['language'])) {
49
+                    $language = trim($_REQUEST['language']);
50
+        } else {
51
+                    $language = '';
52
+        }
52 53
 
53 54
         // more parameters: timezone and unique
54 55
 
55
-        if ($arch == '88f6282')
56
-            $arch = '88f6281';
56
+        if ($arch == '88f6282') {
57
+                    $arch = '88f6281';
58
+        }
57 59
 
58 60
         // Make sure, that the "client" knows that output is sent in JSON format
59 61
         header('Content-type: application/json');
Please login to merge, or discard this patch.