@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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 | ), |