@@ -25,11 +25,11 @@ discard block |
||
| 25 | 25 | { |
| 26 | 26 | parent::boot(); |
| 27 | 27 | |
| 28 | - static::saving(function () { |
|
| 28 | + static::saving(function() { |
|
| 29 | 29 | self::cacheKey(); |
| 30 | 30 | }); |
| 31 | 31 | |
| 32 | - static::deleting(function () { |
|
| 32 | + static::deleting(function() { |
|
| 33 | 33 | self::cacheKey(); |
| 34 | 34 | }); |
| 35 | 35 | } |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | public function getNetworkImageAttribute() |
| 77 | 77 | { |
| 78 | - return isset($this->image) ? url('storage/' . $this->image) : null; |
|
| 78 | + return isset($this->image) ? url('storage/'.$this->image) : null; |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | // Relation |