@@ -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;  | 
                                                        
@@ -100,30 +100,30 @@  | 
                                                    ||
| 100 | 100 | |
| 101 | 101 | $container = new Container();  | 
                                                        
| 102 | 102 | |
| 103 | -        $container->singleton('files', function () { | 
                                                        |
| 103 | +        $container->singleton('files', function() { | 
                                                        |
| 104 | 104 | return new Filesystem();  | 
                                                        
| 105 | 105 | });  | 
                                                        
| 106 | 106 | |
| 107 | -        $container->singleton('view.finder', function ($app) use ($viewPaths) { | 
                                                        |
| 107 | +        $container->singleton('view.finder', function($app) use ($viewPaths) { | 
                                                        |
| 108 | 108 | return new FileViewFinder($app['files'], $viewPaths);  | 
                                                        
| 109 | 109 | });  | 
                                                        
| 110 | 110 | |
| 111 | -        $container->singleton('blade.compiler', function ($app) use ($cachePaths) { | 
                                                        |
| 111 | +        $container->singleton('blade.compiler', function($app) use ($cachePaths) { | 
                                                        |
| 112 | 112 | return new BladeCompiler($app['files'], $cachePaths);  | 
                                                        
| 113 | 113 | });  | 
                                                        
| 114 | 114 | |
| 115 | -        $container->singleton('view.engine.resolver', function ($app) { | 
                                                        |
| 115 | +        $container->singleton('view.engine.resolver', function($app) { | 
                                                        |
| 116 | 116 | $resolver = new EngineResolver();  | 
                                                        
| 117 | 117 | |
| 118 | 118 | // Register Blade engine  | 
                                                        
| 119 | -            $resolver->register('blade', function () use ($app) { | 
                                                        |
| 119 | +            $resolver->register('blade', function() use ($app) { | 
                                                        |
| 120 | 120 | return new CompilerEngine($app['blade.compiler']);  | 
                                                        
| 121 | 121 | });  | 
                                                        
| 122 | 122 | |
| 123 | 123 | return $resolver;  | 
                                                        
| 124 | 124 | });  | 
                                                        
| 125 | 125 | |
| 126 | -        $container->singleton('view', function ($app) { | 
                                                        |
| 126 | +        $container->singleton('view', function($app) { | 
                                                        |
| 127 | 127 | $resolver = $app['view.engine.resolver'];  | 
                                                        
| 128 | 128 | $finder = $app['view.finder'];  | 
                                                        
| 129 | 129 | $dispatcher = new Dispatcher($app);  |