Passed
Push — php7 ( 416ff6...9e646d )
by Pascal
02:15
created
lib/SSpkS/Device/DeviceList.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,9 @@
 block discarded – undo
45 45
         $idx = 0;
46 46
         $sortkey = array();
47 47
         foreach ($familylist as $family => $archlist) {
48
-            if (!is_array($archlist) && !is_object($archlist))
49
-                throw new \Exception("Models list in $family is not an array");
48
+            if (!is_array($archlist) && !is_object($archlist)) {
49
+                            throw new \Exception("Models list in $family is not an array");
50
+            }
50 51
             foreach ($archlist as $arch => $archmodels) {
51 52
                 foreach ($archmodels as $model) {
52 53
                     $this->devices[$idx] = array(
Please login to merge, or discard this patch.