Completed
Push — master ( b589b0...200ed5 )
by Ryuichi
07:09
created
LoggerConfigurationManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,13 +48,13 @@  discard block
 block discarded – undo
48 48
         $this->logContainer = new Container(false);
49 49
         $this->ioContainer = new Container();
50 50
 
51
-        $this->ioContainer->file = function () use ($configMap) {
51
+        $this->ioContainer->file = function() use ($configMap) {
52 52
             if (!array_key_exists("path", $configMap)) {
53 53
                 throw new LoggerException("Log path must be defined.");
54 54
             }
55 55
             return new File($configMap["path"]);
56 56
         };
57
-        $this->ioContainer->fileWriter = function () use ($configMap) {
57
+        $this->ioContainer->fileWriter = function() use ($configMap) {
58 58
             return new SimpleFileWriter($configMap["path"]);
59 59
         };
60 60
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         }
113 113
 
114 114
         $this->logContainer->logPath = $file->getFilePath();
115
-        $this->logContainer->statusPath = preg_replace_callback('/(.*)\..+/', function ($matches) {
115
+        $this->logContainer->statusPath = preg_replace_callback('/(.*)\..+/', function($matches) {
116 116
             return "$matches[1].status";
117 117
         }, $this->logContainer->logPath);
118 118
 
Please login to merge, or discard this patch.