@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Console; |
6 | 6 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public function handle() |
32 | 32 | { |
33 | 33 | if ($this->option('debug')) { |
34 | - app()->bind('measurement.store', function () { |
|
34 | + app()->bind('measurement.store', function() { |
|
35 | 35 | return new ConsoleStore($this->output); |
36 | 36 | }); |
37 | 37 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor; |
6 | 6 | |
@@ -16,22 +16,22 @@ discard block |
||
16 | 16 | { |
17 | 17 | public function register() |
18 | 18 | { |
19 | - $this->app->bind('measurement', function () { |
|
19 | + $this->app->bind('measurement', function() { |
|
20 | 20 | return new Manager($this->app); |
21 | 21 | }); |
22 | 22 | |
23 | - $this->app->bind('measurement.store', function () { |
|
23 | + $this->app->bind('measurement.store', function() { |
|
24 | 24 | return $this->app[StatsdStore::class]; |
25 | 25 | }); |
26 | 26 | |
27 | - $this->app->resolving('measurement', function (Manager $manager) { |
|
27 | + $this->app->resolving('measurement', function(Manager $manager) { |
|
28 | 28 | $manager->extend($this->app[MysqlConnectionSpeed::class]); |
29 | 29 | $manager->extend($this->app[RedisConnectionSpeed::class]); |
30 | 30 | $manager->extend($this->app[QueueWaitingTime::class]); |
31 | 31 | $manager->extend($this->app[QueueSize::class]); |
32 | 32 | }); |
33 | 33 | |
34 | - $this->app->singleton('command.measurement.run', function () { |
|
34 | + $this->app->singleton('command.measurement.run', function() { |
|
35 | 35 | return new MeasurementRun(); |
36 | 36 | }); |
37 | 37 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace JildertMiedema\SystemMonitor\Store; |
6 | 6 |