@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Return list of users who were destroyed. |
50 | - * @return mixed |
|
50 | + * @return Collection |
|
51 | 51 | */ |
52 | 52 | public function getDestroyed() |
53 | 53 | { |
@@ -129,8 +129,8 @@ |
||
129 | 129 | |
130 | 130 | /** |
131 | 131 | * @param $trainingUser |
132 | - * @param $dueDate |
|
133 | - * @return static |
|
132 | + * @param Carbon $dueDate |
|
133 | + * @return TrainingUser |
|
134 | 134 | */ |
135 | 135 | private function createRecord($trainingUser, $dueDate) |
136 | 136 | { |
@@ -135,7 +135,7 @@ |
||
135 | 135 | |
136 | 136 | /** |
137 | 137 | * Take a list of notes and return a list of supervisors related to those notes. |
138 | - * @return static |
|
138 | + * @return Collection |
|
139 | 139 | */ |
140 | 140 | private function getSupervisors() |
141 | 141 | { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Execute the console command. |
35 | - * @return mixed |
|
35 | + * @return UpdateDuty |
|
36 | 36 | */ |
37 | 37 | public function handle() |
38 | 38 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | |
113 | 113 | /** |
114 | 114 | * @param $duty |
115 | - * @param $date |
|
115 | + * @param Carbon $date |
|
116 | 116 | * @return string |
117 | 117 | */ |
118 | 118 | private function generateICS($duty, $date) |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * @param $duty |
170 | 170 | * @param $usersDateArray |
171 | - * @return mixed |
|
171 | + * @return UpdateDuty |
|
172 | 172 | */ |
173 | 173 | private function sendUsersUpcomingEmailNotification($duty, $usersDateArray) |
174 | 174 | { |
@@ -62,6 +62,9 @@ |
||
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param string $date |
|
67 | + */ |
|
65 | 68 | private function pushToArray($list, array $columnName, $date) { |
66 | 69 | $array = []; |
67 | 70 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * @param array $dateArray |
42 | 42 | * @param array $IDArray |
43 | - * @param $type |
|
43 | + * @param string $type |
|
44 | 44 | */ |
45 | 45 | public function processSwapRequest(array $dateArray, array $IDArray, $type) |
46 | 46 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Generate a collection to be used for emails. View is either emails.duty_future or emails.duty_today |
45 | - * @return mixed |
|
45 | + * @return \Illuminate\Support\Collection |
|
46 | 46 | */ |
47 | 47 | public function emailOutput() |
48 | 48 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * Get function for the list. List is stored on the helper class. |
61 | - * @return mixed |
|
61 | + * @return Collection |
|
62 | 62 | */ |
63 | 63 | public function getList() |
64 | 64 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * Get the current user in our database who is working the duty roster |
79 | - * @return mixed |
|
79 | + * @return DutyUsers |
|
80 | 80 | */ |
81 | 81 | public function getLastWorked() |
82 | 82 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * Get a list of all users for a specific duty sorted by the user's last name |
90 | - * @return mixed |
|
90 | + * @return DutyUsers |
|
91 | 91 | */ |
92 | 92 | public function queryList() |
93 | 93 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | |
98 | 98 | /** |
99 | 99 | * Take our list of users and merge them with dates so that each user is assigned a duty date. |
100 | - * @return Collection |
|
100 | + * @return DutyUsers |
|
101 | 101 | */ |
102 | 102 | public function combineListWithDates() |
103 | 103 | { |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * Currently only called from the Training page via the sidebar upload. |
17 | 17 | * @param $request |
18 | - * @return Response |
|
18 | + * @return \Illuminate\Http\RedirectResponse |
|
19 | 19 | */ |
20 | 20 | public function store(Request $request) { |
21 | 21 | $data = $request->all(); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * Let the browser download the file. |
48 | 48 | * @param $fileId |
49 | - * @return mixed |
|
49 | + * @return Response |
|
50 | 50 | */ |
51 | 51 | public function show($fileId) |
52 | 52 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Remove the specified resource from storage. |
78 | 78 | * @param $fileId |
79 | - * @return Response |
|
79 | + * @return \Illuminate\Http\RedirectResponse |
|
80 | 80 | */ |
81 | 81 | public function destroy($fileId) |
82 | 82 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * Update the specified resource in storage. |
37 | 37 | * |
38 | 38 | * @param \Illuminate\Http\Request $request |
39 | - * @return \Illuminate\Http\Response |
|
39 | + * @return \Illuminate\Http\RedirectResponse |
|
40 | 40 | */ |
41 | 41 | public function update(Request $request) |
42 | 42 | { |