@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | $entry = str_replace(array_keys($replace), array_values($replace), $this->config->entryFormat()); |
| 56 | 56 | |
| 57 | - return preg_replace_callback('(\[user_(\w*)\])', function ($matches) { |
|
| 57 | + return preg_replace_callback('(\[user_(\w*)\])', function($matches) { |
|
| 58 | 58 | return ($user = $this->app['auth']->user()) ? $user->{$matches[1]} : '-'; |
| 59 | 59 | }, $entry); |
| 60 | 60 | } |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | protected function removeNewLines($sql) |
| 154 | 154 | { |
| 155 | - if (! $this->config->newLinesToSpaces()) { |
|
| 155 | + if (!$this->config->newLinesToSpaces()) { |
|
| 156 | 156 | return $sql; |
| 157 | 157 | } |
| 158 | 158 | |