| @@ -19,7 +19,7 @@ | ||
| 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 | } | 
| @@ -98,8 +98,7 @@ | ||
| 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 | }; | 
| @@ -82,16 +82,16 @@ discard block | ||
| 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 | ||
| 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 | } |