@@ -14,7 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | public function __construct(array $attributes = []) |
| 16 | 16 | { |
| 17 | - $this->table = config('website.table_prefix', 'website') . '_applications'; |
|
| 17 | + $this->table = config('website.table_prefix', 'website').'_applications'; |
|
| 18 | 18 | |
| 19 | 19 | parent::__construct($attributes); |
| 20 | 20 | } |
@@ -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 | } |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | public function __construct(array $attributes = []) |
| 57 | 57 | { |
| 58 | - $this->table = config('website.table_prefix', 'website') . '_facilities'; |
|
| 58 | + $this->table = config('website.table_prefix', 'website').'_facilities'; |
|
| 59 | 59 | |
| 60 | 60 | parent::__construct($attributes); |
| 61 | 61 | } |
@@ -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 | } |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | public function __construct(array $attributes = []) |
| 49 | 49 | { |
| 50 | - $this->table = config('website.table_prefix', 'website') . '_payments'; |
|
| 50 | + $this->table = config('website.table_prefix', 'website').'_payments'; |
|
| 51 | 51 | |
| 52 | 52 | parent::__construct($attributes); |
| 53 | 53 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | public function __construct(array $attributes = []) |
| 15 | 15 | { |
| 16 | - $this->table = config('website.table_prefix', 'website') . '_tags'; |
|
| 16 | + $this->table = config('website.table_prefix', 'website').'_tags'; |
|
| 17 | 17 | |
| 18 | 18 | parent::__construct($attributes); |
| 19 | 19 | } |
@@ -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') . '_abouts'; |
|
| 48 | + $this->table = config('website.table_prefix', 'website').'_abouts'; |
|
| 49 | 49 | |
| 50 | 50 | parent::__construct($attributes); |
| 51 | 51 | } |
@@ -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 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | public function __construct(array $attributes = []) |
| 46 | 46 | { |
| 47 | - $this->table = config('website.table_prefix', 'website') . '_attributes'; |
|
| 47 | + $this->table = config('website.table_prefix', 'website').'_attributes'; |
|
| 48 | 48 | |
| 49 | 49 | parent::__construct($attributes); |
| 50 | 50 | } |
@@ -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') . '_notices'; |
|
| 52 | + $this->table = config('website.table_prefix', 'website').'_notices'; |
|
| 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 | } |
@@ -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') . '_testimonials'; |
|
| 48 | + $this->table = config('website.table_prefix', 'website').'_testimonials'; |
|
| 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 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | public function __construct(array $attributes = []) |
| 48 | 48 | { |
| 49 | - $this->table = config('website.table_prefix', 'website') . '_careers'; |
|
| 49 | + $this->table = config('website.table_prefix', 'website').'_careers'; |
|
| 50 | 50 | |
| 51 | 51 | parent::__construct($attributes); |
| 52 | 52 | } |