@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | parent::boot(); |
| 22 | 22 | |
| 23 | - static::saving(function () { |
|
| 23 | + static::saving(function() { |
|
| 24 | 24 | self::cacheKey(); |
| 25 | 25 | }); |
| 26 | 26 | |
| 27 | - static::deleting(function () { |
|
| 27 | + static::deleting(function() { |
|
| 28 | 28 | self::cacheKey(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | public function __construct(array $attributes = []) |
| 51 | 51 | { |
| 52 | - $this->table = config('website.table_prefix', 'website') . '_processes'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_processes'; |
|
| 53 | 53 | |
| 54 | 54 | parent::__construct($attributes); |
| 55 | 55 | } |
@@ -22,11 +22,11 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | parent::boot(); |
| 24 | 24 | |
| 25 | - static::saving(function () { |
|
| 25 | + static::saving(function() { |
|
| 26 | 26 | self::cacheKey(); |
| 27 | 27 | }); |
| 28 | 28 | |
| 29 | - static::deleting(function () { |
|
| 29 | + static::deleting(function() { |
|
| 30 | 30 | self::cacheKey(); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | public function __construct(array $attributes = []) |
| 55 | 55 | { |
| 56 | - $this->table = config('website.table_prefix', 'website') . '_softwares'; |
|
| 56 | + $this->table = config('website.table_prefix', 'website').'_softwares'; |
|
| 57 | 57 | |
| 58 | 58 | parent::__construct($attributes); |
| 59 | 59 | } |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | ->author(title()) |
| 101 | 101 | ->description($this->meta_description ?? $this->excerpt) |
| 102 | 102 | ->image($this->banner) |
| 103 | - ->if(!is_null($modules), function (SoftwareApplication $schema) use ($modules) { |
|
| 103 | + ->if(!is_null($modules), function(SoftwareApplication $schema) use ($modules) { |
|
| 104 | 104 | $schema->email(collect($modules)->pluck('name')->toArray()); |
| 105 | 105 | }) |
| 106 | 106 | ->url(route('website.software', ['software' => $this->slug])) |
@@ -18,11 +18,11 @@ discard block |
||
| 18 | 18 | { |
| 19 | 19 | parent::boot(); |
| 20 | 20 | |
| 21 | - static::saving(function () { |
|
| 21 | + static::saving(function() { |
|
| 22 | 22 | self::cacheKey(); |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - static::deleting(function () { |
|
| 25 | + static::deleting(function() { |
|
| 26 | 26 | self::cacheKey(); |
| 27 | 27 | }); |
| 28 | 28 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | public function __construct(array $attributes = []) |
| 45 | 45 | { |
| 46 | - $this->table = config('website.table_prefix', 'website') . '_faqs'; |
|
| 46 | + $this->table = config('website.table_prefix', 'website').'_faqs'; |
|
| 47 | 47 | |
| 48 | 48 | parent::__construct($attributes); |
| 49 | 49 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function __construct(array $attributes = []) |
| 20 | 20 | { |
| 21 | - $this->table = config('website.table_prefix', 'website') . '_inquiries'; |
|
| 21 | + $this->table = config('website.table_prefix', 'website').'_inquiries'; |
|
| 22 | 22 | |
| 23 | 23 | parent::__construct($attributes); |
| 24 | 24 | } |
@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | parent::boot(); |
| 22 | 22 | |
| 23 | - static::saving(function () { |
|
| 23 | + static::saving(function() { |
|
| 24 | 24 | self::cacheKey(); |
| 25 | 25 | }); |
| 26 | 26 | |
| 27 | - static::deleting(function () { |
|
| 27 | + static::deleting(function() { |
|
| 28 | 28 | self::cacheKey(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | public function __construct(array $attributes = []) |
| 47 | 47 | { |
| 48 | - $this->table = config('website.table_prefix', 'website') . '_histories'; |
|
| 48 | + $this->table = config('website.table_prefix', 'website').'_histories'; |
|
| 49 | 49 | |
| 50 | 50 | parent::__construct($attributes); |
| 51 | 51 | } |
@@ -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 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | public function __construct(array $attributes = []) |
| 51 | 51 | { |
| 52 | - $this->table = config('website.table_prefix', 'website') . '_galleries'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_galleries'; |
|
| 53 | 53 | |
| 54 | 54 | parent::__construct($attributes); |
| 55 | 55 | } |
@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | parent::boot(); |
| 22 | 22 | |
| 23 | - static::saving(function () { |
|
| 23 | + static::saving(function() { |
|
| 24 | 24 | self::cacheKey(); |
| 25 | 25 | }); |
| 26 | 26 | |
| 27 | - static::deleting(function () { |
|
| 27 | + static::deleting(function() { |
|
| 28 | 28 | self::cacheKey(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | public function __construct(array $attributes = []) |
| 51 | 51 | { |
| 52 | - $this->table = config('website.table_prefix', 'website') . '_features'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_features'; |
|
| 53 | 53 | |
| 54 | 54 | parent::__construct($attributes); |
| 55 | 55 | } |
@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | parent::boot(); |
| 22 | 22 | |
| 23 | - static::saving(function () { |
|
| 23 | + static::saving(function() { |
|
| 24 | 24 | self::cacheKey(); |
| 25 | 25 | }); |
| 26 | 26 | |
| 27 | - static::deleting(function () { |
|
| 27 | + static::deleting(function() { |
|
| 28 | 28 | self::cacheKey(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | public function __construct(array $attributes = []) |
| 51 | 51 | { |
| 52 | - $this->table = config('website.table_prefix', 'website') . '_projects'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_projects'; |
|
| 53 | 53 | |
| 54 | 54 | parent::__construct($attributes); |
| 55 | 55 | } |
@@ -20,11 +20,11 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | parent::boot(); |
| 22 | 22 | |
| 23 | - static::saving(function () { |
|
| 23 | + static::saving(function() { |
|
| 24 | 24 | self::cacheKey(); |
| 25 | 25 | }); |
| 26 | 26 | |
| 27 | - static::deleting(function () { |
|
| 27 | + static::deleting(function() { |
|
| 28 | 28 | self::cacheKey(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | public function __construct(array $attributes = []) |
| 51 | 51 | { |
| 52 | - $this->table = config('website.table_prefix', 'website') . '_popups'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_popups'; |
|
| 53 | 53 | |
| 54 | 54 | parent::__construct($attributes); |
| 55 | 55 | } |