@@ -22,7 +22,7 @@ |
||
22 | 22 | protected function prepareForValidation(): void |
23 | 23 | { |
24 | 24 | $this->merge([ |
25 | - 'slug' => ! is_null($this->name) ? Str::slug($this->name) : null, |
|
25 | + 'slug' => !is_null($this->name) ? Str::slug($this->name) : null, |
|
26 | 26 | 'meta_name' => $this->post->meta_name ?? $this->meta_name ?? $this->name ?? null, |
27 | 27 | 'meta_description' => $this->post->meta_description ?? $this->meta_description ?? $this->excerpt ?? null, |
28 | 28 | 'user_id' => Auth::user()->id, |
@@ -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->service->meta_name ?? $this->meta_name ?? $this->name ?? null, |
26 | 26 | 'meta_description' => $this->service->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->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 | ]); |