@@ -44,8 +44,8 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | 'slack'=>[ |
| 46 | 46 | 'token' => env('SLACK_APP_TOKEN'), //https://api.slack.com/web#auth |
| 47 | - 'channel' => env('SLACK_CHANNEL','#exceptions'), //Dont forget the '#' |
|
| 48 | - 'username'=> env('SLACK_USERNAME','LERN'), //The 'from' name |
|
| 47 | + 'channel' => env('SLACK_CHANNEL', '#exceptions'), //Dont forget the '#' |
|
| 48 | + 'username'=> env('SLACK_USERNAME', 'LERN'), //The 'from' name |
|
| 49 | 49 | ], |
| 50 | 50 | |
| 51 | 51 | /** |
@@ -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) { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param callable|string $cb The value that you want to wrap in a closure |
| 32 | 32 | * @return callable |
| 33 | 33 | */ |
| 34 | - private function wrapValueInClosure($cb){ |
|
| 34 | + private function wrapValueInClosure($cb) { |
|
| 35 | 35 | if (is_callable($cb)) { |
| 36 | 36 | return $cb; |
| 37 | 37 | } else { |