Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Itil/Models/Changes/SdChanges.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             $value = str_limit($attr, 10);
32 32
         }
33 33
         if (strlen($value) > 10) {
34
-            $value .="  <a href=# id='show-description'>Show</a>";
34
+            $value .= "  <a href=# id='show-description'>Show</a>";
35 35
         }
36 36
         return ucfirst($value);
37 37
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         if ($attr) {
70 70
             $attrs = $this->cab()->first();
71 71
             if ($attrs) {
72
-                $value = "<a href='" . url('service-desk/cabs/' . $attr . '/' . $owner . '/show') . "'>$attrs->name</a>";
72
+                $value = "<a href='".url('service-desk/cabs/'.$attr.'/'.$owner.'/show')."'>$attrs->name</a>";
73 73
             }
74 74
         }
75 75
         //dd($value);
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         if ($attr) {
123 123
             $attrs = $this->locationRelation()->first();
124 124
             if ($attrs) {
125
-                $value = "<a href=" . url('service-desk/location-types/' . $attr . '/show') . ">$attrs->title</a>";
125
+                $value = "<a href=".url('service-desk/location-types/'.$attr.'/show').">$attrs->title</a>";
126 126
             }
127 127
         }
128 128
         return ucfirst($value);
@@ -210,8 +210,8 @@  discard block
 block discarded – undo
210 210
                 foreach ($ids as $id) {
211 211
                     $ass = $asset->find($id);
212 212
                     if ($ass) {
213
-                        $value = "<a href=" . url('service-desk/assets/' . $id . '/show') . ">" . ucfirst($ass->name) . "</a>";
214
-                        $assets .=$value . "</br>";
213
+                        $value = "<a href=".url('service-desk/assets/'.$id.'/show').">".ucfirst($ass->name)."</a>";
214
+                        $assets .= $value."</br>";
215 215
                     }
216 216
                 }
217 217
             }
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     public function subject() {
282 282
         $id = $this->attributes['id'];
283 283
         $title = $this->attributes['subject'];
284
-        $subject = "<a href=" . url('service-desk/changes/' . $id . '/show') . ">" . $title . "</a>";
284
+        $subject = "<a href=".url('service-desk/changes/'.$id.'/show').">".$title."</a>";
285 285
         return $subject;
286 286
     }
287 287
 
Please login to merge, or discard this patch.
app/Itil/Models/Changes/SdChangetypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class SdChangetypes extends Model
6 6
 {
7 7
     protected $table = 'sd_change_types';
8
-    protected $fillable = ['id','name','created_at','updated_at'];
8
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Changes/SdChangepriorities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class SdChangepriorities extends Model
6 6
 {
7 7
     protected $table = 'sd_change_priorities';
8
-    protected $fillable = ['id','name','created_at','updated_at'];
8
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Changes/SdImpacttypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 class SdImpacttypes extends Model
6 6
 {
7 7
     protected $table = 'sd_impact_types';
8
-    protected $fillable = ['id','name','created_at','updated_at'];
8
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Releases/SdReleasepriorities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 {
8 8
     protected $table = 'sd_release_priorities';
9 9
     
10
-   protected $fillable = ['id','name','created_at','updated_at'];
10
+   protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Releases/SdReleasestatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 {
8 8
     protected $table = 'sd_release_status';
9 9
     
10
-   protected $fillable = ['id','name','created_at','updated_at'];
10
+   protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Releases/SdLocations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 class SdLocations extends Model
7 7
 {
8 8
     protected $table = 'sd_locations';
9
-    protected $fillable = ['id','location_category_id','title','email','phone','address','all_department_access','departments','status','created_at','updated_at'];
9
+    protected $fillable = ['id', 'location_category_id', 'title', 'email', 'phone', 'address', 'all_department_access', 'departments', 'status', 'created_at', 'updated_at'];
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Releases/SdReleasepriorities_1.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 {
8 8
     protected $table = 'sd_release_priorities';
9 9
     
10
-   protected $fillable = ['id','name','created_at','updated_at'];
10
+   protected $fillable = ['id', 'name', 'created_at', 'updated_at'];
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
app/Itil/Models/Releases/SdReleases.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $attrs = $this->locationRelation()->first();
51 51
 
52 52
             if ($attrs) {
53
-                $value = "<a href=" . url('service-desk/location-types/' . $attr . '/show') . ">$attrs->title</a>";
53
+                $value = "<a href=".url('service-desk/location-types/'.$attr.'/show').">$attrs->title</a>";
54 54
             }
55 55
         }
56 56
         return ucfirst($value);
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
             $value = str_limit($attr, 10);
124 124
         }
125 125
         if (strlen($value) > 10) {
126
-            $value .="  <a href=# id='show-description'>Show</a>";
126
+            $value .= "  <a href=# id='show-description'>Show</a>";
127 127
         }
128 128
         return ucfirst($value);
129 129
     }
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
                 foreach ($ids as $id) {
162 162
                     $ass = $asset->find($id);
163 163
                     if ($ass) {
164
-                        $value = "<a href=" . url('service-desk/assets/' . $id . '/show') . ">" . ucfirst($ass->name) . "</a>";
165
-                        $assets .=$value . "</br>";
164
+                        $value = "<a href=".url('service-desk/assets/'.$id.'/show').">".ucfirst($ass->name)."</a>";
165
+                        $assets .= $value."</br>";
166 166
                     }
167 167
                 }
168 168
             }
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     public function subject() {
219 219
         $id = $this->attributes['id'];
220 220
         $title = $this->attributes['subject'];
221
-        $subject = "<a href=" . url('service-desk/releases/' . $id . '/show') . ">" . $title . "</a>";
221
+        $subject = "<a href=".url('service-desk/releases/'.$id.'/show').">".$title."</a>";
222 222
         return $subject;
223 223
     }
224 224
 
Please login to merge, or discard this patch.