@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | try { |
22 | 22 | $user->createAsStripeCustomer(); |
23 | - } catch(\Exception) { |
|
23 | + } catch (\Exception) { |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | $plan_id = $request->input('plan_id'); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | private function emailUnchagedForUser() |
45 | 45 | { |
46 | - return ! optional($this->route('person'))->hasUser() |
|
46 | + return !optional($this->route('person'))->hasUser() |
|
47 | 47 | || $this->get('email') === $this->route('person')->email; |
48 | 48 | } |
49 | 49 | } |
@@ -10,9 +10,9 @@ |
||
10 | 10 | protected $proxies; |
11 | 11 | |
12 | 12 | protected $headers = |
13 | - Request::HEADER_X_FORWARDED_FOR | |
|
14 | - Request::HEADER_X_FORWARDED_HOST | |
|
15 | - Request::HEADER_X_FORWARDED_PORT | |
|
16 | - Request::HEADER_X_FORWARDED_PROTO | |
|
13 | + Request::HEADER_X_FORWARDED_FOR| |
|
14 | + Request::HEADER_X_FORWARDED_HOST| |
|
15 | + Request::HEADER_X_FORWARDED_PORT| |
|
16 | + Request::HEADER_X_FORWARDED_PROTO| |
|
17 | 17 | Request::HEADER_X_FORWARDED_AWS_ELB; |
18 | 18 | } |
@@ -135,11 +135,11 @@ discard block |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | // add birthyear to person table ( for form builder ) |
138 | - if ($title === 'BIRT' && ! empty($date)) { |
|
138 | + if ($title === 'BIRT' && !empty($date)) { |
|
139 | 139 | $this->birthday = date('Y-m-d', strtotime((string) $date)); |
140 | 140 | } |
141 | 141 | // add deathyear to person table ( for form builder ) |
142 | - if ($title === 'DEAT' && ! empty($date)) { |
|
142 | + if ($title === 'DEAT' && !empty($date)) { |
|
143 | 143 | $this->deathday = date('Y-m-d', strtotime((string) $date)); |
144 | 144 | } |
145 | 145 | $this->save(); |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | |
167 | 167 | public function setUpdatedBy() |
168 | 168 | { |
169 | - if (! is_dir(storage_path('app/public'))) { |
|
169 | + if (!is_dir(storage_path('app/public'))) { |
|
170 | 170 | // dir doesn't exist, make it |
171 | 171 | \File::makeDirectory(storage_path().'/app/public', 0777, true); |
172 | 172 |
@@ -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++; |
@@ -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 |
@@ -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 | } |