Completed
Push — master ( bb1936...2de20d )
by Marcin
03:24
created
src/FileName.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@
 block discarded – undo
86 86
      */
87 87
     protected function parseFileName($fileName)
88 88
     {
89
-        return preg_replace_callback('#(\[.*\])#U', function ($matches) {
90
-            $format = str_replace(['[',']'], [], $matches[1]);
89
+        return preg_replace_callback('#(\[.*\])#U', function($matches) {
90
+            $format = str_replace(['[', ']'], [], $matches[1]);
91 91
 
92 92
             return $this->now->format($format);
93 93
         }, $fileName);
Please login to merge, or discard this patch.