Passed
Push — main ( 815d93...55a7c4 )
by Rafael
05:42
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/Tools/Debug.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
      *
42 42
      * @var JavascriptRenderer|null
43 43
      */
44
-    private static JavascriptRenderer|null $render;
44
+    private static JavascriptRenderer | null $render;
45 45
 
46 46
     /**
47 47
      * DebugBar instance
48 48
      *
49 49
      * @var StandardDebugBar|null
50 50
      */
51
-    private static StandardDebugBar|null $debugBar;
51
+    private static StandardDebugBar | null $debugBar;
52 52
 
53 53
     /**
54 54
      * Initializes the Debug
Please login to merge, or discard this patch.
src/Modules/Admin/Model/Migration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     private static function createTable()
34 34
     {
35
-        Capsule::schema()->create('migrations', function (Blueprint $table) {
35
+        Capsule::schema()->create('migrations', function(Blueprint $table) {
36 36
             $table->id();
37 37
             $table->string('migration');
38 38
             $table->integer('batch')->unsigned();
Please login to merge, or discard this patch.
src/Modules/Admin/Migrations/00000000_0000_users.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up(): void
12 12
     {
13
-        Capsule::schema()->create('users', function (Blueprint $table) {
13
+        Capsule::schema()->create('users', function(Blueprint $table) {
14 14
             $table->id();
15 15
             $table->string('name')->unique();
16 16
             $table->string('email')->unique();
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Capsule::schema()->create('password_reset_tokens', function (Blueprint $table) {
25
+        Capsule::schema()->create('password_reset_tokens', function(Blueprint $table) {
26 26
             $table->string('email')->primary();
27 27
             $table->string('token');
28 28
             $table->timestamp('created_at')->nullable();
29 29
         });
30 30
 
31
-        Capsule::schema()->create('sessions', function (Blueprint $table) {
31
+        Capsule::schema()->create('sessions', function(Blueprint $table) {
32 32
             $table->string('id')->primary();
33 33
             $table->foreignId('user_id')->nullable()->index();
34 34
             $table->string('ip_address', 45)->nullable();
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
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @return bool
42 42
      * @throws DebugBarException
43 43
      */
44
-    public static function connectDb(stdClass|null $db = null): bool
44
+    public static function connectDb(stdClass | null $db = null): bool
45 45
     {
46 46
         if (static::$db !== null) {
47 47
             return true;
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/ViewTrait.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @var null|string
56 56
      */
57
-    public null|string $template;
57
+    public null | string $template;
58 58
 
59 59
     /**
60 60
      * Contains the title of the view.
@@ -172,30 +172,30 @@  discard block
 block discarded – undo
172 172
 
173 173
         $container = new Container();
174 174
 
175
-        $container->singleton('files', function () {
175
+        $container->singleton('files', function() {
176 176
             return new Filesystem();
177 177
         });
178 178
 
179
-        $container->singleton('view.finder', function ($app) use ($viewPaths) {
179
+        $container->singleton('view.finder', function($app) use ($viewPaths) {
180 180
             return new FileViewFinder($app['files'], $viewPaths);
181 181
         });
182 182
 
183
-        $container->singleton('blade.compiler', function ($app) use ($cachePaths) {
183
+        $container->singleton('blade.compiler', function($app) use ($cachePaths) {
184 184
             return new BladeCompiler($app['files'], $cachePaths);
185 185
         });
186 186
 
187
-        $container->singleton('view.engine.resolver', function ($app) {
187
+        $container->singleton('view.engine.resolver', function($app) {
188 188
             $resolver = new EngineResolver();
189 189
 
190 190
             // Register Blade engine
191
-            $resolver->register('blade', function () use ($app) {
191
+            $resolver->register('blade', function() use ($app) {
192 192
                 return new CompilerEngine($app['blade.compiler']);
193 193
             });
194 194
 
195 195
             return $resolver;
196 196
         });
197 197
 
198
-        $container->singleton('view', function ($app) {
198
+        $container->singleton('view', function($app) {
199 199
             $resolver = $app['view.engine.resolver'];
200 200
             $finder = $app['view.finder'];
201 201
             $dispatcher = new Dispatcher($app);
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
      * @param array|string $path
236 236
      * @return void
237 237
      */
238
-    public function setTemplatesPath(array|string $path): void
238
+    public function setTemplatesPath(array | string $path): void
239 239
     {
240 240
         if (is_array($path)) {
241 241
             self::$templatesPath = array_merge($path, self::$templatesPath);
Please login to merge, or discard this patch.