@@ -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(); |
@@ -133,8 +133,8 @@ |
||
| 133 | 133 | * @param array $context Additional information that you would like to pass to Monolog |
| 134 | 134 | * @return array The modified context array |
| 135 | 135 | */ |
| 136 | - protected function buildContext(array $context = []){ |
|
| 137 | - if(in_array('pushover', $this->drivers)){ |
|
| 136 | + protected function buildContext(array $context = []) { |
|
| 137 | + if (in_array('pushover', $this->drivers)) { |
|
| 138 | 138 | $context['sound'] = $this->config['pushover']['sound']; |
| 139 | 139 | } |
| 140 | 140 | return $context; |