@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * @param $date |
72 | 72 | * @param $ID |
73 | - * @param $type |
|
73 | + * @param string $type |
|
74 | 74 | */ |
75 | 75 | private function createDutySwap($date, $ID, $type) |
76 | 76 | { |
@@ -110,7 +110,7 @@ |
||
110 | 110 | /** |
111 | 111 | * Save the edited content to the file. |
112 | 112 | * |
113 | - * @param $string |
|
113 | + * @param string $string |
|
114 | 114 | * |
115 | 115 | * @return string |
116 | 116 | */ |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @param StoreTrainingTypeRequest $request |
40 | 40 | * |
41 | - * @return \Illuminate\Http\Response |
|
41 | + * @return \Illuminate\Http\RedirectResponse |
|
42 | 42 | */ |
43 | 43 | public function store(StoreTrainingTypeRequest $request) |
44 | 44 | { |
@@ -67,7 +67,6 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Show the form for editing the specified resource. |
69 | 69 | * |
70 | - * @param int $id |
|
71 | 70 | * |
72 | 71 | * @return \Illuminate\Http\Response |
73 | 72 | */ |
@@ -82,9 +81,8 @@ discard block |
||
82 | 81 | * Update the specified resource in storage. |
83 | 82 | * |
84 | 83 | * @param \Illuminate\Http\Request $request |
85 | - * @param int $id |
|
86 | 84 | * |
87 | - * @return \Illuminate\Http\Response |
|
85 | + * @return \Illuminate\Http\RedirectResponse |
|
88 | 86 | */ |
89 | 87 | public function update(StoreTrainingTypeRequest $request, TrainingType $trainingtype) |
90 | 88 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * If we can't figure where data goes, we will push it to a collection so the user can map it. |
59 | 59 | * Otherwise, we will update the record. |
60 | 60 | * |
61 | - * @param $excel |
|
61 | + * @param Collection $excel |
|
62 | 62 | */ |
63 | 63 | private function initialImport($excel) |
64 | 64 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * User has mapped some accounts. We need to update those records. |
83 | 83 | * |
84 | - * @param $excel |
|
84 | + * @param Collection $excel |
|
85 | 85 | * @param $data |
86 | 86 | */ |
87 | 87 | private function resolveImport($excel, $data) |
@@ -190,9 +190,8 @@ |
||
190 | 190 | * |
191 | 191 | * Calls to \SET\app\Handlers\Excel\ |
192 | 192 | * |
193 | - * @param CompletedTrainingExport $export |
|
194 | 193 | * |
195 | - * @return mixed |
|
194 | + * @return \Symfony\Component\HttpFoundation\BinaryFileResponse |
|
196 | 195 | */ |
197 | 196 | public function showCompleted() |
198 | 197 | { |