@@ -15,7 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | Route::get('/', 'FondBot\Foundation\Controller@index'); |
| 17 | 17 | |
| 18 | - Route::group(['middleware' => 'fondbot.webhook'], function () { |
|
| 18 | + Route::group(['middleware' => 'fondbot.webhook'], function() { |
|
| 19 | 19 | Route::get('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook'); |
| 20 | 20 | Route::post('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook'); |
| 21 | 21 | }); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function initialize(Collection $parameters): DriverContract |
| 33 | 33 | { |
| 34 | - $parameters->each(function ($value, $key) { |
|
| 34 | + $parameters->each(function($value, $key) { |
|
| 35 | 35 | $this->$key = $value; |
| 36 | 36 | }); |
| 37 | 37 | |