Passed
Push — main ( 0230d8...7f267a )
by PRATIK
03:52
created
src/Models/Admin/History.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@  discard block
 block discarded – undo
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
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     // Accessors
47 47
     public function getImageAttribute()
48 48
     {
49
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
49
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
50 50
     }
51 51
 
52 52
     public function scopeActive($qry)
Please login to merge, or discard this patch.