@@ -60,7 +60,7 @@ |
||
| 60 | 60 | 'engine' => 'InnoDB', |
| 61 | 61 | 'options' => extension_loaded('pdo_mysql') ? array_filter([ |
| 62 | 62 | PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), |
| 63 | - ]) : [], |
|
| 63 | + ]) : [ ], |
|
| 64 | 64 | ], |
| 65 | 65 | |
| 66 | 66 | 'pgsql' => [ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | 'channels' => [ |
| 38 | 38 | 'stack' => [ |
| 39 | 39 | 'driver' => 'stack', |
| 40 | - 'channels' => ['errorlog'], |
|
| 40 | + 'channels' => [ 'errorlog' ], |
|
| 41 | 41 | 'ignore_exceptions' => false, |
| 42 | 42 | ], |
| 43 | 43 | |
@@ -150,6 +150,6 @@ |
||
| 150 | 150 | | |
| 151 | 151 | */ |
| 152 | 152 | |
| 153 | - 'attributes' => [], |
|
| 153 | + 'attributes' => [ ], |
|
| 154 | 154 | |
| 155 | 155 | ]; |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | Button::create('Give me a fancy quote')->value('quote'), |
| 37 | 37 | ]); |
| 38 | 38 | |
| 39 | - return $this->ask($question, function (Answer $answer) { |
|
| 39 | + return $this->ask($question, function(Answer $answer) { |
|
| 40 | 40 | if (!$answer->isInteractiveMessageReply()) { |
| 41 | 41 | return; |
| 42 | 42 | } |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | { |
| 38 | 38 | $this->configureRateLimiting(); |
| 39 | 39 | |
| 40 | - $this->routes(function () { |
|
| 40 | + $this->routes(function() { |
|
| 41 | 41 | Route::prefix('api') |
| 42 | 42 | ->middleware('api') |
| 43 | 43 | ->namespace($this->namespace) |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | ->namespace($this->namespace) |
| 48 | 48 | ->group(base_path('routes/web.php')); |
| 49 | 49 | |
| 50 | - Route::match(['get', 'post'], '/botman', function () { |
|
| 50 | + Route::match([ 'get', 'post' ], '/botman', function() { |
|
| 51 | 51 | /** @var \BotMan\BotMan\BotMan $botman */ |
| 52 | 52 | $botman = resolve('botman'); |
| 53 | 53 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | protected function configureRateLimiting() |
| 68 | 68 | { |
| 69 | - RateLimiter::for('api', function (Request $request) { |
|
| 69 | + RateLimiter::for ('api', function(Request $request) { |
|
| 70 | 70 | return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); |
| 71 | 71 | }); |
| 72 | 72 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('failed_jobs', function (Blueprint $table) { |
|
| 16 | + Schema::create('failed_jobs', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('uuid')->unique(); |
| 19 | 19 | $table->text('connection'); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public function up() |
| 18 | 18 | { |
| 19 | - Schema::create('users', function (Blueprint $table) { |
|
| 19 | + Schema::create('users', function(Blueprint $table) { |
|
| 20 | 20 | $table->id(); |
| 21 | 21 | $table->string('username'); |
| 22 | 22 | $table->string('fullname'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('jobs', function (Blueprint $table) { |
|
| 16 | + Schema::create('jobs', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('queue')->index(); |
| 19 | 19 | $table->longText('payload'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('password_resets', function (Blueprint $table) { |
|
| 16 | + Schema::create('password_resets', function(Blueprint $table) { |
|
| 17 | 17 | $table->string('email')->index(); |
| 18 | 18 | $table->string('token'); |
| 19 | 19 | $table->timestamp('created_at')->nullable(); |