Completed
Branch full-rewrite (4754d3)
by Thibaud
03:13
created
src/Adapter/Pear/Tar/TarResourceIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected function buildIterator()
53 53
     {
54
-        return new MappingArrayIterator($this->archive->listContent(), function ($current) {
54
+        return new MappingArrayIterator($this->archive->listContent(), function($current) {
55 55
             return ResourceUri::fromString($current['filename']);
56 56
         });
57 57
     }
Please login to merge, or discard this patch.
src/Package/Iterator/AbstractIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getIterator()
19 19
     {
20
-        if (! isset($this->iterator)) {
20
+        if (!isset($this->iterator)) {
21 21
             $this->iterator = $this->buildIterator();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/Package/IteratorResolver/ProtocolBasedIteratorResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function getFactory($protocol)
23 23
     {
24
-        if (! isset($this->factories[$protocol])) {
24
+        if (!isset($this->factories[$protocol])) {
25 25
             throw new \RuntimeException('Unsupported protocol: ' . $protocol);
26 26
         }
27 27
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         $iterator = $factory($container);
38 38
 
39
-        if (! $iterator) {
39
+        if (!$iterator) {
40 40
             throw new \RuntimeException('Unsupported protocol: ' . $protocol);
41 41
         }
42 42
 
Please login to merge, or discard this patch.