| @@ -36,13 +36,13 @@ | ||
| 36 | 36 | $matches = array(); | 
| 37 | 37 | |
| 38 | 38 | // -rw-r--r-- gray/staff 62373 2006-06-09 12:06 apple | 
| 39 | -            if (!preg_match_all("#". | |
| 40 | - self::PERMISSIONS . "\s+" . // match (-rw-r--r--) | |
| 41 | - self::OWNER . "/" . // match (gray) | |
| 42 | - self::GROUP . "\s+" . // match (staff) | |
| 43 | - self::FILESIZE . "\s+" . // match (62373) | |
| 44 | - self::ISO_DATE . "\s+" . // match (2006-06-09 12:06) | |
| 45 | - self::FILENAME . // match (apple) | |
| 39 | +            if (!preg_match_all("#" . | |
| 40 | + self::PERMISSIONS . "\s+" . // match (-rw-r--r--) | |
| 41 | + self::OWNER . "/" . // match (gray) | |
| 42 | + self::GROUP . "\s+" . // match (staff) | |
| 43 | + self::FILESIZE . "\s+" . // match (62373) | |
| 44 | + self::ISO_DATE . "\s+" . // match (2006-06-09 12:06) | |
| 45 | + self::FILENAME . // match (apple) | |
| 46 | 46 | "#", | 
| 47 | 47 | $line, $matches, PREG_SET_ORDER | 
| 48 | 48 |              )) { | 
| @@ -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 | } | 
| @@ -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 | } |