@@ -86,8 +86,8 @@ |
||
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); |