Completed
Push — master ( 69c63f...51b5f1 )
by Thibaud
8s
created
src/Resource/Reader/Guzzle/GuzzleReaderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         $this->client = $client;
21 21
 
22
-        if (! $this->client) {
22
+        if (!$this->client) {
23 23
             $this->client = new Client();
24 24
         }
25 25
     }
Please login to merge, or discard this patch.
src/Resource/TeleporterContainer.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
                     new ResourceLocator()
99 99
                 );
100 100
             };
101
-        }
102
-        elseif (class_exists('Guzzle\Http\Client')) {
101
+        } elseif (class_exists('Guzzle\Http\Client')) {
103 102
             $container->factories['guzzle-teleporter'] = function () {
104 103
                 return new GuzzleTeleporter();
105 104
             };
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,16 +82,16 @@  discard block
 block discarded – undo
82 82
     {
83 83
         $container = new static();
84 84
 
85
-        $container->factories['stream-teleporter'] = function () {
85
+        $container->factories['stream-teleporter'] = function() {
86 86
             return StreamTeleporter::create();
87 87
         };
88 88
 
89
-        $container->factories['local-teleporter'] = function () {
89
+        $container->factories['local-teleporter'] = function() {
90 90
             return LocalTeleporter::create();
91 91
         };
92 92
 
93 93
         if (class_exists('GuzzleHttp\Client')) {
94
-            $container->factories['guzzle-teleporter'] = function () {
94
+            $container->factories['guzzle-teleporter'] = function() {
95 95
                 return new GuzzleTeleporter(
96 96
                     null,
97 97
                     new GuzzleReaderFactory(),
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             };
101 101
         }
102 102
         elseif (class_exists('Guzzle\Http\Client')) {
103
-            $container->factories['guzzle-teleporter'] = function () {
103
+            $container->factories['guzzle-teleporter'] = function() {
104 104
                 return new GuzzleTeleporter();
105 105
             };
106 106
         }
Please login to merge, or discard this patch.