Passed
Push — main ( 7c7fb0...1512d5 )
by Rafael
04:58
created
src/Core/Tools/DebugBarCollector/PhpCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Core/Model/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/DbTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/ViewTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -100,30 +100,30 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.