Completed
Pull Request — master (#107)
by Tim
23:41 queued 15:32
created
app/Widgets/RecentTasks.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct()
10 10
     {
11
-       $this->reloadTimeout = config('timecontrol.refreshInterval');
11
+        $this->reloadTimeout = config('timecontrol.refreshInterval');
12 12
     }
13 13
 
14 14
     /**
Please login to merge, or discard this patch.
app/Http/TransformersApi/DepartmentOutput.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * Include Managers
39 39
      *
40 40
      * @param  Departments $department
41
-     * @return Fractal\Resource\Item
41
+     * @return Fractal\Resource\Collection
42 42
      */
43 43
     public function includeManagers(Departments $department)
44 44
     {
Please login to merge, or discard this 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/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/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.