Completed
Push — development ( 914a5c...ed19c7 )
by Tim
22:29 queued 11:14
created
app/Http/TransformersApi/Relations/DepartmentManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function transform(Departments $manager)
21 21
     {
22 22
         return [
23
-            'id'   => (int)    $manager->id,
23
+            'id'   => (int) $manager->id,
24 24
         ];
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
app/Http/TransformersApi/DepartmentOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function transform(Departments $department)
28 28
     {
29 29
         return [
30
-            'id'           => (int)    $department->id,
30
+            'id'           => (int) $department->id,
31 31
             'name'         => (string) $department->department_name,
32 32
             'managers'     => (string) $department->department_manager,
33 33
             'description'  => (string) $department->department_description
Please login to merge, or discard this patch.
app/Http/Controllers/ApiDepartmentsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      */
138 138
     public function destroy($id)
139 139
     {
140
-        if (! empty($id)) {
140
+        if (!empty($id)) {
141 141
             Departments::destroy($id);
142 142
 
143 143
             $data = [];
Please login to merge, or discard this patch.