Passed
Push — master ( 9d7fc3...820a38 )
by Mihail
10:49
created
Extend/Core/Arch/FrontWidget.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * Check if widget is enabled
35 35
      * @param string|null $name
36
-     * @return bool
36
+     * @return null|boolean
37 37
      */
38 38
     public static function enabled($name = null)
39 39
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         }
52 52
 
53 53
         // if widget is disabled - lets return nothing
54
-        return !(bool)$wData->disabled;
54
+        return !(bool) $wData->disabled;
55 55
     }
56 56
 
57 57
 }
58 58
\ No newline at end of file
Please login to merge, or discard this patch.