@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->process->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->process->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->project->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->project->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->notice->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->notice->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->feature->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->feature->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->page->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->page->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->facility->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->facility->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | 25 | 'meta_name' => $this->software->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->software->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
27 | 27 | ]); |
@@ -21,8 +21,8 @@ |
||
21 | 21 | protected function prepareForValidation(): void |
22 | 22 | { |
23 | 23 | $this->merge([ |
24 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | - 'sku' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
24 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | + 'sku' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
26 | 26 | 'meta_name' => $this->project->meta_name ?? $this->meta_name ?? $this->name ?? null, |
27 | 27 | 'meta_description' => $this->project->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
28 | 28 | ]); |
@@ -19,11 +19,11 @@ discard block |
||
19 | 19 | { |
20 | 20 | parent::boot(); |
21 | 21 | |
22 | - static::saving(function () { |
|
22 | + static::saving(function() { |
|
23 | 23 | self::cacheKey(); |
24 | 24 | }); |
25 | 25 | |
26 | - static::deleting(function () { |
|
26 | + static::deleting(function() { |
|
27 | 27 | self::cacheKey(); |
28 | 28 | }); |
29 | 29 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | // Accessors |
58 | 58 | public function getGroupAttribute($attribute) |
59 | 59 | { |
60 | - return ! is_null($attribute) ? (config('website.career_group', [ |
|
60 | + return !is_null($attribute) ? (config('website.career_group', [ |
|
61 | 61 | 1 => 'REASEARCHERS/STAFF', |
62 | 62 | 2 => 'FIELD STAFF', |
63 | 63 | 3 => 'INTERN/VOLUNTEERS', |