Passed
Branch master (b497ca)
by Petr
07:56
created
Category
php-src/DataSources/Volume.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return $this;
41 41
         }
42 42
 
43
-        $iter = $this->recursive ? $this->getRecursive($path) : $this->getFlat($path) ;
43
+        $iter = $this->recursive ? $this->getRecursive($path) : $this->getFlat($path);
44 44
         $iter = new CallbackFilterIterator($iter, [$this, 'filterDoubleDot']);
45 45
         if ($this->filterCallback) {
46 46
             $iter = new CallbackFilterIterator($iter, $this->filterCallback);
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     public function filterDoubleDot(SplFileInfo $info): bool
91 91
     {
92
-        return ( ITree::PARENT_DIR != $info->getFilename() ) ;
92
+        return (ITree::PARENT_DIR != $info->getFilename());
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.
php-tests/SourcesTests/VolumeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,6 +83,6 @@
 block discarded – undo
83 83
      */
84 84
     protected function getLib(): Volume
85 85
     {
86
-        return new Volume(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR. 'data' . DIRECTORY_SEPARATOR . 'tree');
86
+        return new Volume(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'tree');
87 87
     }
88 88
 }
Please login to merge, or discard this patch.