@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * @param string $key |
68 | 68 | */ |
69 | - protected function collect($key,Exception $e = null){ |
|
69 | + protected function collect($key, Exception $e = null) { |
|
70 | 70 | switch ($key) { |
71 | 71 | case 'user_id': |
72 | 72 | return $this->getUserId(); |
@@ -116,10 +116,10 @@ |
||
116 | 116 | $this->log->pushHandler($handler); |
117 | 117 | } |
118 | 118 | |
119 | - try{ |
|
119 | + try { |
|
120 | 120 | $this->log->addCritical($message); |
121 | 121 | } catch (Exception $e) { |
122 | - echo "LERN notifier failed. Message: {$e->getMessage()}.".PHP_EOL.$e->getTraceAsString(); |
|
122 | + echo "LERN notifier failed. Message: {$e->getMessage()}." . PHP_EOL . $e->getTraceAsString(); |
|
123 | 123 | return false; |
124 | 124 | } |
125 | 125 |