Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Itil/Models/Problem/Location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class Location extends Model
10 10
 {
11 11
     protected $table = 'sd_locations';
12
-    protected $fillable = ['id','name','created_at','updated_at',
12
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at',
13 13
         
14 14
     ];
15 15
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/TicketType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class TicketType extends Model
8 8
 {
9 9
     protected $table = 'ticket_status';
10
-    protected $fillable = ['id','name','created_at','updated_at',
10
+    protected $fillable = ['id', 'name', 'created_at', 'updated_at',
11 11
         
12 12
     ];
13 13
 }
Please login to merge, or discard this patch.
app/Itil/Models/Problem/Impact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class Impact extends Model
8 8
 {
9 9
     protected $table = 'sd_impact_types';
10
-    protected $fillable = ['id','saved','created_at','updated_at',
10
+    protected $fillable = ['id', 'saved', 'created_at', 'updated_at',
11 11
         
12 12
     ];
13 13
 }
Please login to merge, or discard this patch.
app/Itil/Models/Changes/SdChangestatus.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 SdChangestatus extends Model
6 6
 {
7 7
     protected $table = 'sd_change_status';
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/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 2 patches
Indentation   +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.
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.