@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | public function __construct(array $attributes = []) |
15 | 15 | { |
16 | - $this->table = config('website.table_prefix', 'website') . '_messages'; |
|
16 | + $this->table = config('website.table_prefix', 'website').'_messages'; |
|
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') . '_sliders'; |
|
48 | + $this->table = config('website.table_prefix', 'website').'_sliders'; |
|
49 | 49 | |
50 | 50 | parent::__construct($attributes); |
51 | 51 | } |
@@ -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') . '_products'; |
|
52 | + $this->table = config('website.table_prefix', 'website').'_products'; |
|
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 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | public function __construct(array $attributes = []) |
50 | 50 | { |
51 | - $this->table = config('website.table_prefix', 'website') . '_categories'; |
|
51 | + $this->table = config('website.table_prefix', 'website').'_categories'; |
|
52 | 52 | |
53 | 53 | parent::__construct($attributes); |
54 | 54 | } |
@@ -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') . '_pages'; |
|
52 | + $this->table = config('website.table_prefix', 'website').'_pages'; |
|
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') . '_counters'; |
|
48 | + $this->table = config('website.table_prefix', 'website').'_counters'; |
|
49 | 49 | |
50 | 50 | parent::__construct($attributes); |
51 | 51 | } |
@@ -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') . '_downloads'; |
|
48 | + $this->table = config('website.table_prefix', 'website').'_downloads'; |
|
49 | 49 | |
50 | 50 | parent::__construct($attributes); |
51 | 51 | } |
@@ -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') . '_clients'; |
|
48 | + $this->table = config('website.table_prefix', 'website').'_clients'; |
|
49 | 49 | |
50 | 50 | parent::__construct($attributes); |
51 | 51 | } |
@@ -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') . '_packages'; |
|
52 | + $this->table = config('website.table_prefix', 'website').'_packages'; |
|
53 | 53 | |
54 | 54 | parent::__construct($attributes); |
55 | 55 | } |