Passed
Push — main ( 676412...32f684 )
by Miaad
01:28
created
database/database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @method Json_init
13 13
      */
14
-    public function json_init () {
14
+    public function json_init() {
15 15
         (new jsondb())->init(handler::$dbname);
16 16
     }
17 17
 }
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
database/handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      *
50 50
      */
51
-    public function __construct (array $settings) {
51
+    public function __construct(array $settings) {
52 52
         if (in_array($settings['type'], self::TYPES)) {
53 53
             if ($settings['type'] === 'Mysqli') {
54 54
                 if (self::CheckParam($settings)) {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         }
89 89
     }
90 90
 
91
-    private static function CheckParam (array $array) {
91
+    private static function CheckParam(array $array) {
92 92
         if (isset($array['username']) && isset($array['dbname']) && isset($array['password'])) {
93 93
             self::$host = $array['host'] ?? 'localhost';
94 94
             self::$username = $array['username'];
Please login to merge, or discard this patch.