Passed
Push — master ( cfd7b9...6118b7 )
by Chubarov
02:38
created
src/ServiceProviders/RedisServiceProvider.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
 namespace Cart\ServiceProviders;
5 5
 
@@ -12,14 +12,14 @@  discard block
 block discarded – undo
12 12
 {
13 13
     public function register(Container $container) : void
14 14
     {
15
-        $redis =  new Client([
15
+        $redis = new Client([
16 16
             'scheme' => config('cart.drivers.redis.scheme'),
17 17
             'host'   => config('cart.drivers.redis.host'),
18 18
             'port'   => config('cart.drivers.redis.port')
19 19
         ]);
20 20
 
21 21
         $container->instance(Client::class, $redis);
22
-        $container->bind(RedisDriver::class, function () use ($redis) {
22
+        $container->bind(RedisDriver::class, function() use ($redis) {
23 23
             return new RedisDriver($redis);
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/SourcesConfigurations/File.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
 namespace Cart\SourcesConfigurations;
5 5
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     public function get() : array
32 32
     {
33
-        $configuration =  require $this->pathToFile;
33
+        $configuration = require $this->pathToFile;
34 34
         return $configuration;
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Contracts/SourceConfiguration.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
 namespace Cart\Contracts;
5 5
 
Please login to merge, or discard this patch.
src/Kernel.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
 namespace Cart;
5 5
 
Please login to merge, or discard this patch.
src/ServiceProviders/CartServiceProvider.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
 namespace Cart\ServiceProviders;
5 5
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      */
16 16
     public function register()
17 17
     {
18
-        $this->app->bind('cart', function () {
18
+        $this->app->bind('cart', function() {
19 19
             $kernel = new Kernel();
20 20
             $kernel->bootstrapping();
21 21
             $kernel->loadServiceProvider();
Please login to merge, or discard this patch.