@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function up(): void |
| 42 | 42 | { |
| 43 | - $this->createSchema(function (Blueprint $table) { |
|
| 43 | + $this->createSchema(function(Blueprint $table) { |
|
| 44 | 44 | $table->increments('id'); |
| 45 | 45 | |
| 46 | 46 | $table->string('name'); |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | if ( ! Auth::config('throttles.enabled', false)) |
| 42 | 42 | return; |
| 43 | 43 | |
| 44 | - $this->createSchema(function (Blueprint $table) { |
|
| 44 | + $this->createSchema(function(Blueprint $table) { |
|
| 45 | 45 | $table->increments('id'); |
| 46 | 46 | $table->unsignedBigInteger('user_id')->nullable(); |
| 47 | 47 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function up(): void |
| 42 | 42 | { |
| 43 | - $this->createSchema(function (Blueprint $table) { |
|
| 43 | + $this->createSchema(function(Blueprint $table) { |
|
| 44 | 44 | $table->increments('id'); |
| 45 | 45 | $table->uuid('uuid'); |
| 46 | 46 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function up(): void |
| 42 | 42 | { |
| 43 | - $this->createSchema(function (Blueprint $table) { |
|
| 43 | + $this->createSchema(function(Blueprint $table) { |
|
| 44 | 44 | $table->bigIncrements('id'); |
| 45 | 45 | $table->uuid('uuid'); |
| 46 | 46 | $table->string('first_name', 30)->nullable(); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function up(): void |
| 42 | 42 | { |
| 43 | - $this->createSchema(function (Blueprint $table) { |
|
| 43 | + $this->createSchema(function(Blueprint $table) { |
|
| 44 | 44 | $table->unsignedInteger('permission_id'); |
| 45 | 45 | $table->unsignedInteger('role_id'); |
| 46 | 46 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | public function up(): void |
| 43 | 43 | { |
| 44 | - $this->createSchema(function (Blueprint $table) { |
|
| 44 | + $this->createSchema(function(Blueprint $table) { |
|
| 45 | 45 | $table->string('email'); |
| 46 | 46 | $table->string('token'); |
| 47 | 47 | $table->timestamp('created_at')->nullable(); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function up(): void |
| 42 | 42 | { |
| 43 | - $this->createSchema(function (Blueprint $table) { |
|
| 43 | + $this->createSchema(function(Blueprint $table) { |
|
| 44 | 44 | $table->increments('id'); |
| 45 | 45 | $table->uuid('uuid'); |
| 46 | 46 | $table->unsignedInteger('group_id')->default(0); |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | function count_pill($count, Closure $condition = null) |
| 73 | 73 | { |
| 74 | 74 | if (is_null($condition)) { |
| 75 | - $condition = function ($count) { |
|
| 75 | + $condition = function($count) { |
|
| 76 | 76 | return $count > 0 ? 'badge-outline-info' : 'badge-outline-light'; |
| 77 | 77 | }; |
| 78 | 78 | } |