@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @return void |
28 | 28 | */ |
29 | 29 | public function addProperty(string $model, string $key): void { |
30 | - if(!$this->hasProperties($model)) { |
|
30 | + if (!$this->hasProperties($model)) { |
|
31 | 31 | $this->properties[$model] = []; |
32 | 32 | } |
33 | 33 | $this->properties[$model][] = $key; |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function getProperties(string $model): array |
54 | 54 | { |
55 | - if($this->hasProperties($model)) { |
|
55 | + if ($this->hasProperties($model)) { |
|
56 | 56 | return $this->properties[$model]; |
57 | 57 | } |
58 | 58 | return []; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_data_user', function (Blueprint $table) { |
|
16 | + Schema::create('control_data_user', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('first_name')->nullable(); |
19 | 19 | $table->string('last_name')->nullable(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_groups', function (Blueprint $table) { |
|
16 | + Schema::create('control_groups', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->unsignedInteger('data_provider_id')->unique(); |
19 | 19 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_users', function (Blueprint $table) { |
|
16 | + Schema::create('control_users', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->unsignedBigInteger('data_provider_id')->unique(); |
19 | 19 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_tags', function (Blueprint $table) { |
|
16 | + Schema::create('control_tags', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->text('description'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_taggables', function (Blueprint $table) { |
|
16 | + Schema::create('control_taggables', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->unsignedBigInteger('tag_id'); |
19 | 19 | $table->unsignedBigInteger('taggable_id'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_roles', function (Blueprint $table) { |
|
16 | + Schema::create('control_roles', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->unsignedBigInteger('data_provider_id')->unique(); |
19 | 19 | $table->unsignedInteger('position_id'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_group_user', function (Blueprint $table) { |
|
16 | + Schema::create('control_group_user', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->unsignedBigInteger('user_id'); |
19 | 19 | $table->unsignedBigInteger('group_id'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('control_data_role', function (Blueprint $table) { |
|
16 | + Schema::create('control_data_role', function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('role_name')->nullable(); |
19 | 19 | $table->string('email')->nullable(); |