@@ -107,7 +107,7 @@ |
||
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | 109 | * Validates that the subject is an unempty string |
| 110 | - * @param mixed $subject The value to check |
|
| 110 | + * @param string $subject The value to check |
|
| 111 | 111 | * @return void |
| 112 | 112 | */ |
| 113 | 113 | private function checkSubject($subject) { |
@@ -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 | - dd("LERN notifier failed. Message: {$e->getMessage()}.".PHP_EOL.$e->getTraceAsString()); |
|
| 122 | + dd("LERN notifier failed. Message: {$e->getMessage()}." . PHP_EOL . $e->getTraceAsString()); |
|
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | return $this; |