@@ -18,9 +18,9 @@ |
||
18 | 18 | { |
19 | 19 | const CONFIG_KEY = 'steptimelogger'; |
20 | 20 | |
21 | - /** |
|
22 | - * {@inheritdoc} |
|
23 | - */ |
|
21 | + /** |
|
22 | + * {@inheritdoc} |
|
23 | + */ |
|
24 | 24 | public function getConfigKey() |
25 | 25 | { |
26 | 26 | return self::CONFIG_KEY; |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | private function getOutputTypeInitializer() |
87 | 87 | { |
88 | - return function ($value) { |
|
88 | + return function($value) { |
|
89 | 89 | $value = empty($value) ? ['console'] : $value; |
90 | 90 | return is_array($value) ? $value : [$value]; |
91 | 91 | }; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | private function getOutputTypeValidator() |
98 | 98 | { |
99 | - return function ($value) { |
|
99 | + return function($value) { |
|
100 | 100 | $allowed = ['console', 'csv']; |
101 | 101 | $invalid = array_diff($value, $allowed); |
102 | 102 |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | fclose($file); |
69 | 69 | |
70 | - $this->output->writeln('Step time log has been saved. Open at '.$filePath); |
|
70 | + $this->output->writeln('Step time log has been saved. Open at ' . $filePath); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -78,6 +78,6 @@ discard block |
||
78 | 78 | $fileName = sprintf(self::FILE_NAME_PATTERN, time()); |
79 | 79 | $path = rtrim($this->outputDirectory, DIRECTORY_SEPARATOR); |
80 | 80 | |
81 | - return empty($path) ? $fileName : $path.DIRECTORY_SEPARATOR.$fileName; |
|
81 | + return empty($path) ? $fileName : $path . DIRECTORY_SEPARATOR . $fileName; |
|
82 | 82 | } |
83 | 83 | } |