@@ -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 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | trait DbTrait |
| 25 | 25 | { |
| 26 | - public static function connectDb(\stdClass|null $db = null): bool |
|
| 26 | + public static function connectDb(\stdClass | null $db = null): bool |
|
| 27 | 27 | { |
| 28 | 28 | if ($db === null) { |
| 29 | 29 | return false; |
@@ -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(); |