Completed
Pull Request — master (#107)
by Tim
13:32 queued 10:23
created
app/Http/Controllers/SickController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Store a newly created resource in storage.
42 42
      *
43 43
      * @param  \Illuminate\Http\Request  $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
             \Mail::send('emails.new_sick', ['data' => $data], function ($m) use ($mailbox, $subject) {
73 73
                 $m->from($mailbox);
74 74
                 /** Send confirmation mail to all managers in the department from the user.
75
-                *$m->to("")->subject("$subject");
76
-                */
75
+                 *$m->to("")->subject("$subject");
76
+                 */
77 77
             });
78 78
 
79 79
             return redirect('sick');
Please login to merge, or discard this patch.
app/Http/Controllers/TypesController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * Store a newly created resource in storage.
36 36
      *
37 37
      * @param  \Illuminate\Http\Request  $request
38
-     * @return \Illuminate\Http\Response
38
+     * @return \Illuminate\Http\RedirectResponse
39 39
      */
40 40
     public function store(Request $request)
41 41
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * Remove the specified resource from storage.
86 86
      *
87 87
      * @param  int  $id
88
-     * @return \Illuminate\Http\Response
88
+     * @return \Illuminate\Http\RedirectResponse
89 89
      */
90 90
     public function destroy($id)
91 91
     {
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Store a newly created resource in storage.
42 42
      *
43 43
      * @param  \Illuminate\Http\Request  $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
app/Widgets/RecentOvertime.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/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/Controllers/StaffController.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param Requests\StaffValidator|Request $request
60 60
      *
61
-     * @return mixed
61
+     * @return \Illuminate\Http\RedirectResponse
62 62
      */
63 63
     public function store(Requests\StaffValidator $request)
64 64
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @param Int,    $id
93 93
      * @param Request $request
94 94
      *
95
-     * @return mixed
95
+     * @return \Illuminate\Http\RedirectResponse
96 96
      */
97 97
     public function updateUser($id, Request $request)
98 98
     {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * @param Request $request
139 139
      *
140
-     * @return string
140
+     * @return \Illuminate\Http\RedirectResponse
141 141
      */
142 142
     public function addRole(Request $request)
143 143
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      *
170 170
      * @param int, $id
171 171
      *
172
-     * @return redirect
172
+     * @return \Illuminate\Http\RedirectResponse
173 173
      */
174 174
     public function destroyRole($id)
175 175
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param Request $request
214 214
      *
215
-     * @return redirect
215
+     * @return \Illuminate\Http\RedirectResponse
216 216
      */
217 217
     public function savePermission(Request $request)
218 218
     {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
      * Delete a permission out off timecontrol.
227 227
      *
228 228
      * @param int, $id, the id off the permission.
229
-     * @return Redirect
229
+     * @return \Illuminate\Http\RedirectResponse
230 230
      */
231 231
     public function destroyPermission($id)
232 232
     {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      * Update the specified resource in storage.
291 291
      *
292 292
      * @param Requests\accountManagementValidator|Request $request
293
-     * @return \Illuminate\Http\Response
293
+     * @return \Illuminate\Http\RedirectResponse
294 294
      */
295 295
     public function update(Requests\accountManagementValidator $request)
296 296
     {
Please login to merge, or discard this patch.
app/Http/TransformersApi/DepartmentOutput.php 1 patch
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.
app/Http/Controllers/HolidaysController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Store a newly created resource in storage.
45 45
      *
46 46
      * @param  Requests\HolidayValidator $input
47
-     * @return \Illuminate\Http\Response
47
+     * @return \Illuminate\Http\RedirectResponse
48 48
      */
49 49
     public function store(Requests\HolidayValidator $input)
50 50
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @param  Requests\HolidayValidator $input
91 91
      * @param  int | $id | The database id.
92
-     * @return \Illuminate\Http\Response
92
+     * @return \Illuminate\Http\RedirectResponse
93 93
      */
94 94
     public function update(Requests\HolidayValidator $input, $id)
95 95
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Remove the specified resource from storage.
106 106
      *
107 107
      * @param  int | $id | The database id.
108
-     * @return \Illuminate\Http\Response
108
+     * @return \Illuminate\Http\RedirectResponse
109 109
      */
110 110
     public function destroy($id)
111 111
     {
Please login to merge, or discard this patch.
app/Http/Controllers/TeamsController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Store a newly created team in database.
49 49
      *
50
-     * @param array $request The user input form the form.
50
+     * @param Request $request The user input form the form.
51 51
      */
52 52
     public function store(Request $request)
53 53
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Update the specified team in the database.
86 86
      *
87
-     * @param  array $request The user input from the form.
87
+     * @param  Request $request The user input from the form.
88 88
      * @param  int $id The id in the database for the team
89 89
      * @return string
90 90
      */
Please login to merge, or discard this patch.