Completed
Pull Request — master (#20)
by Tobias
01:48
created
src/MultipartStreamBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
         $path = rtrim($path, $separators);
251 251
         // Returns the trailing part of the $uri starting after one of the directory
252 252
         // separators.
253
-        $filename = preg_match('@[^' . preg_quote($separators, '@') . ']+$@', $path, $matches) ? $matches[0] : '';
253
+        $filename = preg_match('@[^'.preg_quote($separators, '@').']+$@', $path, $matches) ? $matches[0] : '';
254 254
 
255 255
         return $filename;
256 256
     }
Please login to merge, or discard this patch.