@@ -33,7 +33,7 @@ |
||
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 | { |
@@ -51,7 +51,7 @@ |
||
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 |