Completed
Pull Request — master (#101)
by Alexander
02:36
created
src/Adapter/AbstractAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,6 +246,6 @@
 block discarded – undo
246 246
             throw new InvalidArgumentException(sprintf('Target path %s is not writeable.', $directory));
247 247
         }
248 248
 
249
-        return realpath($directory).'/'.substr($path, strrpos(str_replace('\\', '/', $path), '/') + 1);
249
+        return realpath($directory) . '/' . substr($path, strrpos(str_replace('\\', '/', $path), '/') + 1);
250 250
     }
251 251
 }
Please login to merge, or discard this patch.
src/Resource/Resource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             return null;
88 88
         }
89 89
 
90
-        if (substr($this->original, strrpos(str_replace('\\', '/', $this->original), '/') + 1)  === $this->target) {
90
+        if (substr($this->original, strrpos(str_replace('\\', '/', $this->original), '/') + 1) === $this->target) {
91 91
             return dirname($this->original);
92 92
         }
93 93
     }
Please login to merge, or discard this patch.
src/Resource/TargetLocator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@
 block discarded – undo
67 67
      * Locate the target for a string.
68 68
      *
69 69
      * @param String $resource
70
+     * @param string $context
70 71
      *
71 72
      * @return String
72 73
      *
Please login to merge, or discard this patch.