@@ -39,8 +39,9 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public static function hasElement($array, $element): bool |
| 41 | 41 | { |
| 42 | - if (! is_array($array)) |
|
| 43 | - return false; |
|
| 42 | + if (! is_array($array)) { |
|
| 43 | + return false; |
|
| 44 | + } |
|
| 44 | 45 | |
| 45 | 46 | return isset($array[$element]) && strlen($array[$element]) > 0; |
| 46 | 47 | } |
@@ -22,7 +22,8 @@ |
||
| 22 | 22 | * Create a new session provider |
| 23 | 23 | */ |
| 24 | 24 | public function __construct() |
| 25 | - {} |
|
| 25 | + { |
|
| 26 | +} |
|
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | 29 | * Create session |