@@ -64,7 +64,7 @@ |
||
64 | 64 | { |
65 | 65 | $messages = self::$messages; |
66 | 66 | |
67 | - usort($messages, function ($itemA, $itemB) { |
|
67 | + usort($messages, function($itemA, $itemB) { |
|
68 | 68 | if ($itemA['time'] === $itemB['time']) { |
69 | 69 | return 0; |
70 | 70 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | public static function createTable() |
16 | 16 | { |
17 | - DB::schema()->create((new static())->table, function (Blueprint $table) { |
|
17 | + DB::schema()->create((new static())->table, function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('name'); |
20 | 20 | $table->string('email')->unique(); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | trait DbTrait |
24 | 24 | { |
25 | - public static function connectDb(\stdClass|null $db = null): bool |
|
25 | + public static function connectDb(\stdClass | null $db = null): bool |
|
26 | 26 | { |
27 | 27 | if ($db === null || !Config::checkDatabaseConnection($db)) { |
28 | 28 | return false; |
@@ -62,7 +62,7 @@ |
||
62 | 62 | $basepath = $realpath . $module; |
63 | 63 | |
64 | 64 | $className = $class . '\\' . $module . '\\Controller\\' . $controller; |
65 | - $filename = $basepath . '/Controller/' . $controller . '.php';; |
|
65 | + $filename = $basepath . '/Controller/' . $controller . '.php'; ; |
|
66 | 66 | |
67 | 67 | Debug::message('Filename: ' . $filename); |
68 | 68 | Debug::message('Class: ' . $className); |