Completed
Push — master ( 49228f...024767 )
by Henry Stivens
02:39
created
core/extensions/helpers/tag.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,9 @@
 block discarded – undo
42 42
      */
43 43
     public static function getAttrs($params)
44 44
     {
45
-        if(!is_array($params))return (string)$params;
45
+        if(!is_array($params)) {
46
+            return (string)$params;
47
+        }
46 48
         $data = '';
47 49
         foreach ($params as $k => $v) {
48 50
             $data .= " $k=\"$v\"";
Please login to merge, or discard this patch.
core/extensions/helpers/css.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,9 @@
 block discarded – undo
56 56
     public static function add( $file, array $dependencies = [] )
57 57
     {
58 58
         self::$_css[$file] = $file;
59
-        foreach ($dependencies  as $file) self::$_dependencies [$file] = $file;
59
+        foreach ($dependencies  as $file) {
60
+            self::$_dependencies [$file] = $file;
61
+        }
60 62
     }
61 63
     
62 64
     /**
Please login to merge, or discard this patch.