Passed
Push — main ( 6c6f0a...1bc180 )
by PRATIK
19:43 queued 15:54
created
src/Models/Admin/Notice.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/Models/Admin/Facility.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/Models/Admin/Career.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
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
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     // Accessors
65 65
     public function getGroupAttribute($attribute)
66 66
     {
67
-        return ! is_null($attribute) ? (config('website.career_group', [
67
+        return !is_null($attribute) ? (config('website.career_group', [
68 68
             1 => 'REASEARCHERS/STAFF',
69 69
             2 => 'FIELD STAFF',
70 70
             3 => 'INTERN/VOLUNTEERS',
@@ -104,6 +104,6 @@  discard block
 block discarded – undo
104 104
     // Accessors
105 105
     public function getImageAttribute()
106 106
     {
107
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
107
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
108 108
     }
109 109
 }
Please login to merge, or discard this patch.
src/Models/Admin/Package.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/Models/Admin/Team.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
     }
@@ -57,6 +57,6 @@  discard block
 block discarded – undo
57 57
     // Accessors
58 58
     public function getImageAttribute()
59 59
     {
60
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/blog.gif');
60
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/blog.gif');
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
src/Models/Admin/Feature.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/Models/Admin/Service.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@  discard block
 block discarded – undo
21 21
     {
22 22
         parent::boot();
23 23
 
24
-        static::saving(function () {
24
+        static::saving(function() {
25 25
             self::cacheKey();
26 26
         });
27 27
 
28
-        static::deleting(function () {
28
+        static::deleting(function() {
29 29
             self::cacheKey();
30 30
         });
31 31
     }
@@ -96,12 +96,12 @@  discard block
 block discarded – undo
96 96
     // Accessors
97 97
     public function getImageAttribute()
98 98
     {
99
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/blog.gif');
99
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/blog.gif');
100 100
     }
101 101
 
102 102
     // Accessors
103 103
     public function getIconImageAttribute()
104 104
     {
105
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/blog.gif');
105
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/blog.gif');
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
src/Models/Admin/Process.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.
src/Models/Admin/Popup.php 1 patch
Spacing   +4 added lines, -4 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
     }
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
     // Accessors
84 84
     public function getImageAttribute()
85 85
     {
86
-        return ! is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
86
+        return !is_null($this->getFirstMedia('image')) ? $this->getFirstMediaUrl('image') : asset('adminetic/static/placeholder.jpg');
87 87
     }
88 88
 
89 89
     public function getIconImageAttribute()
90 90
     {
91
-        return ! is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
91
+        return !is_null($this->getFirstMedia('icon_image')) ? $this->getFirstMediaUrl('icon_image') : asset('adminetic/static/placeholder.jpg');
92 92
     }
93 93
 }
Please login to merge, or discard this patch.