@@ -16,7 +16,6 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * Log mail messages to eml file |
| 18 | 18 | * @param string $type |
| 19 | - * @param string $text |
|
| 20 | 19 | * @return void |
| 21 | 20 | */ |
| 22 | 21 | public function log($type, Nette\Mail\Message $mail); |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * Log mail messages to eml file |
| 32 | 32 | * @param string $type |
| 33 | - * @param string $text |
|
| 34 | 33 | * @return void |
| 35 | 34 | */ |
| 36 | 35 | public function log($type, Nette\Mail\Message $mail) |
@@ -57,8 +57,8 @@ |
||
| 57 | 57 | { |
| 58 | 58 | preg_match('/^((([0-9]{4})-[0-9]{2})-[0-9]{2}).*/', $timestamp, $fragments); |
| 59 | 59 | |
| 60 | - $year_dir = $this->log_directory . '/' . $fragments[3]; |
|
| 61 | - $month_dir = $year_dir . '/' . $fragments[2]; |
|
| 60 | + $year_dir = $this->log_directory . '/' . $fragments[3]; |
|
| 61 | + $month_dir = $year_dir . '/' . $fragments[2]; |
|
| 62 | 62 | $day_dir = $month_dir . '/' . $fragments[1]; |
| 63 | 63 | $file = $day_dir . '/' . $type . static::LOG_EXTENSION; |
| 64 | 64 | |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | /** |
| 173 | 173 | * Convert class name to underscore and set latte file extension |
| 174 | 174 | */ |
| 175 | - $this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function ($m) { |
|
| 175 | + $this->underscore_name = lcfirst(preg_replace_callback('/(?<=.)([A-Z])/', function($m) { |
|
| 176 | 176 | return '_' . strtolower($m[1]); |
| 177 | 177 | }, $class_name)); |
| 178 | 178 | |