@@ -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++; |
@@ -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 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public function getConnectionName() |
| 11 | 11 | { |
| 12 | - if (! App::runningUnitTests()) { |
|
| 12 | + if (!App::runningUnitTests()) { |
|
| 13 | 13 | if (Auth::check()) { |
| 14 | 14 | $user = \Auth::user(); |
| 15 | 15 | $role_id = $user->role_id; |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | // If unique is still false at this point |
| 41 | 41 | // it will just repeat all the steps until |
| 42 | 42 | // it has generated a random string of characters |
| 43 | - } while (! $unique); |
|
| 43 | + } while (!$unique); |
|
| 44 | 44 | |
| 45 | 45 | return $random; |
| 46 | 46 | } |