Passed
Pull Request — master (#25)
by yuuki
03:17
created
src/FluentHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Please login to merge, or discard this patch.
src/LogServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
         /**
33 33
          * for package configure
34 34
          */
35
-        $configPath = __DIR__ . '/config/fluent.php';
35
+        $configPath = __DIR__.'/config/fluent.php';
36 36
         $this->mergeConfigFrom($configPath, 'fluent');
37 37
         $this->publishes([$configPath => config_path('fluent.php')], 'log');
38
-        $this->app->singleton('log', function ($app) {
38
+        $this->app->singleton('log', function($app) {
39 39
             return new LogManager($app);
40 40
         });
41 41
     }
Please login to merge, or discard this patch.
src/LogManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 new FluentHandler(
54 54
                     new FluentLogger(
55 55
                         $configure['host'] ?? FluentLogger::DEFAULT_ADDRESS,
56
-                        (int)$configure['port'] ?? FluentLogger::DEFAULT_LISTEN_PORT,
56
+                        (int) $configure['port'] ?? FluentLogger::DEFAULT_LISTEN_PORT,
57 57
                         $configure['options'] ?? [],
58 58
                         $packer
59 59
                     ),
Please login to merge, or discard this patch.