| @@ -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 |      { | 
| @@ -105,7 +105,7 @@ discard block | ||
| 105 | 105 | } | 
| 106 | 106 | |
| 107 | 107 | /** | 
| 108 | - * @return \Illuminate\Database\Eloquent\Relations\MorphMany | |
| 108 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany | |
| 109 | 109 | */ | 
| 110 | 110 | public function duties() | 
| 111 | 111 |      { | 
| @@ -184,7 +184,7 @@ discard block | ||
| 184 | 184 | * Obtain the Activitylog for the designated user or for all users. | 
| 185 | 185 | * Populate log array values ["comment", "updated_at", "user_fullname"] | 
| 186 | 186 | * | 
| 187 | - * @return Log collection | |
| 187 | + * @return \Illuminate\Support\Collection collection | |
| 188 | 188 | */ | 
| 189 | 189 | public function getUserLog($user = null) | 
| 190 | 190 |      { |