@@ -9,5 +9,5 @@ |
||
9 | 9 | |
10 | 10 | class Tenant extends BaseTenant implements TenantWithDatabase |
11 | 11 | { |
12 | - use HasDatabase,HasDomains; |
|
12 | + use HasDatabase, HasDomains; |
|
13 | 13 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | $result = $response->json(); |
66 | 66 | |
67 | - if (! self::$is_testing) { |
|
67 | + if (!self::$is_testing) { |
|
68 | 68 | $has_more_result = $result['total'] > $result['page']; |
69 | 69 | if ($has_more_result) { |
70 | 70 | $this->current_page++; |
@@ -68,7 +68,7 @@ |
||
68 | 68 | // Log::info("content from getGedcomPerson function => \n $content"); |
69 | 69 | // var_dump(\Storage::disk('public')->path($this->file), "job"); |
70 | 70 | $manager->storage()->put($this->file, $content); |
71 | - // $filePath = 'public/' . $this->file; |
|
71 | + // $filePath = 'public/' . $this->file; |
|
72 | 72 | // $filePath = $manager->storage()->path($filePath); |
73 | 73 | // chmod_r('/home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/'); |
74 | 74 | exec("chmod -R 0777 /home/genealogia/domains/api.genealogia.co.uk/genealogy/storage/tenants/"); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public function handle() |
36 | 36 | { |
37 | 37 | $p_id = $this->user->person_id; // person_id |
38 | - $f_id = 0; // family_id |
|
38 | + $f_id = 0; // family_id |
|
39 | 39 | |
40 | 40 | // $tenant = Manager::fromModel($this->user->company(), $this->user); |
41 | 41 | // $tenant->connect(); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $person = Person::where("child_in_family_id", $this->user->id)->first(); |
49 | 49 | |
50 | 50 | if ($person != null) { |
51 | - $f_id=$person->child_in_family_id; |
|
51 | + $f_id = $person->child_in_family_id; |
|
52 | 52 | } else { |
53 | 53 | $f_id = 0; |
54 | 54 | } |
@@ -20,14 +20,14 @@ |
||
20 | 20 | public function create() |
21 | 21 | { |
22 | 22 | return $this->form |
23 | - // ->options('type_id', Type::all()) |
|
23 | + // ->options('type_id', Type::all()) |
|
24 | 24 | ->create(); |
25 | 25 | } |
26 | 26 | |
27 | 27 | public function edit(Note $note) |
28 | 28 | { |
29 | 29 | return $this->form |
30 | - // ->options('type_id', Type::all()) |
|
30 | + // ->options('type_id', Type::all()) |
|
31 | 31 | ->edit($note); |
32 | 32 | } |
33 | 33 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function edit(Repository $repository) |
28 | 28 | { |
29 | 29 | return $this->form |
30 | - // ->options('type_id', Type::all()) |
|
30 | + // ->options('type_id', Type::all()) |
|
31 | 31 | ->edit($repository); |
32 | 32 | } |
33 | 33 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | return $this->form |
24 | 24 | ->options('husband_id', Person::all()) |
25 | 25 | ->options('wife_id', Person::all()) |
26 | - // ->options('type_id', Type::all()) |
|
26 | + // ->options('type_id', Type::all()) |
|
27 | 27 | ->options('child_id', Person::all()) |
28 | 28 | ->create(); |
29 | 29 | } |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | ->options('husband_id', Person::all()) |
35 | 35 | ->options('wife_id', Person::all()) |
36 | 36 | ->append('family_id', $family->id) |
37 | - ->value('child_id', $family->children) |
|
38 | - ->options('child_id', Person::all()) |
|
37 | + ->value('child_id', $family->children) |
|
38 | + ->options('child_id', Person::all()) |
|
39 | 39 | ->edit($family); |
40 | 40 | } |
41 | 41 | } |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | public function create() |
24 | 24 | { |
25 | 25 | return $this->form |
26 | - // ->options('type_id', Type::all()) |
|
26 | + // ->options('type_id', Type::all()) |
|
27 | 27 | ->options('author_id', Author::all()) |
28 | 28 | ->options('publication_id', Publication::all()) |
29 | 29 | ->options('repository_id', Repository::all()) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | public function edit(Source $source) |
34 | 34 | { |
35 | 35 | return $this->form |
36 | - // ->options('type_id', Type::all()) |
|
36 | + // ->options('type_id', Type::all()) |
|
37 | 37 | ->options('author_id', Author::all()) |
38 | 38 | ->options('publication_id', Publication::all()) |
39 | 39 | ->options('repository_id', Repository::all()) |
@@ -148,7 +148,7 @@ |
||
148 | 148 | |
149 | 149 | public function storage(): Filesystem |
150 | 150 | { |
151 | - if (! $this->hasStoragePartition()) { |
|
151 | + if (!$this->hasStoragePartition()) { |
|
152 | 152 | $this->makeStoragePartition(); |
153 | 153 | } |
154 | 154 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | public function handle($request, Closure $next) |
14 | 14 | { |
15 | - if (! $request->user()) { |
|
15 | + if (!$request->user()) { |
|
16 | 16 | return $next($request); |
17 | 17 | } |
18 | 18 |