@@ -118,7 +118,7 @@ |
||
118 | 118 | * |
119 | 119 | * @param \Illuminate\Http\Request $request |
120 | 120 | * @param mixed $user |
121 | - * @return mixed |
|
121 | + * @return \Illuminate\Http\RedirectResponse |
|
122 | 122 | */ |
123 | 123 | protected function registered(Request $request, $user) |
124 | 124 | { |
@@ -11,6 +11,9 @@ discard block |
||
11 | 11 | { |
12 | 12 | use AuthorizesRequests, DispatchesJobs, ValidatesRequests; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $relativeType |
|
16 | + */ |
|
14 | 17 | public function getRelativeIds($input, $relativeType) { |
15 | 18 | $relativeIds = []; |
16 | 19 | if (isset($input['relatives'])) { |
@@ -98,6 +101,9 @@ discard block |
||
98 | 101 | return $mergedArray; |
99 | 102 | } |
100 | 103 | |
104 | + /** |
|
105 | + * @param integer $steps |
|
106 | + */ |
|
101 | 107 | protected function rotateKeys($expandedArray, $steps) { |
102 | 108 | $rotatedArray = []; |
103 | 109 | foreach($expandedArray as $item) { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @param \Illuminate\Http\Request $request |
52 | 52 | * @param \App\Models\Applicant $applicant |
53 | - * @return \Illuminate\Http\Response |
|
53 | + * @return \Illuminate\Http\RedirectResponse |
|
54 | 54 | */ |
55 | 55 | public function update(Request $request, Applicant $applicant) |
56 | 56 | { |
@@ -9,8 +9,6 @@ |
||
9 | 9 | use App\Models\Applicant; |
10 | 10 | use App\Models\Course; |
11 | 11 | use App\Models\WorkExperience; |
12 | -use App\Models\Lookup\DegreeType; |
|
13 | -use App\Models\Lookup\CourseStatus; |
|
14 | 12 | use App\Http\Controllers\Controller; |
15 | 13 | |
16 | 14 | class ExperienceController extends Controller |
@@ -249,7 +249,7 @@ |
||
249 | 249 | * |
250 | 250 | * @param Manager $manager Incoming Manager object. |
251 | 251 | * |
252 | - * @return \Illuminate\View\View|\Illuminate\Contracts\View\Factory Job Create view |
|
252 | + * @return RedirectResponse Job Create view |
|
253 | 253 | */ |
254 | 254 | public function createAsManager(Manager $manager) |
255 | 255 | { |
@@ -8,14 +8,10 @@ discard block |
||
8 | 8 | use Illuminate\Support\Facades\Mail; |
9 | 9 | use Illuminate\Http\RedirectResponse; |
10 | 10 | use Illuminate\Http\Request; |
11 | -use Illuminate\Http\Response; |
|
12 | 11 | use Illuminate\View\View; |
13 | 12 | use App\Http\Controllers\Controller; |
14 | - |
|
15 | 13 | use Carbon\Carbon; |
16 | - |
|
17 | 14 | use App\Mail\JobPosterReviewRequested; |
18 | - |
|
19 | 15 | use App\Models\Criteria; |
20 | 16 | use App\Models\JobPoster; |
21 | 17 | use App\Models\JobPosterKeyTask; |
@@ -29,7 +25,6 @@ discard block |
||
29 | 25 | use App\Models\Lookup\CriteriaType; |
30 | 26 | use App\Models\Skill; |
31 | 27 | use App\Models\Manager; |
32 | - |
|
33 | 28 | use App\Services\Validation\JobPosterValidator; |
34 | 29 | use Jenssegers\Date\Date; |
35 | 30 | use App\Models\AssessmentPlanNotification; |
@@ -130,7 +130,7 @@ |
||
130 | 130 | * |
131 | 131 | * @param \Illuminate\Http\Request $request |
132 | 132 | * @param \App\Models\Manager $manager |
133 | - * @return \Illuminate\Http\Response |
|
133 | + * @return \Illuminate\Http\RedirectResponse |
|
134 | 134 | */ |
135 | 135 | public function update(Request $request, Manager $manager) { |
136 | 136 | $input = $request->input(); |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use App\Models\Lookup\Frequency; |
9 | 9 | use App\Models\Lookup\Department; |
10 | 10 | use App\Models\WorkEnvironment; |
11 | -use App\Models\TeamCulture; |
|
12 | 11 | use App\Models\Manager; |
13 | 12 | |
14 | 13 | class ManagerProfileController extends Controller { |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use App\Models\RatingGuideAnswer; |
6 | 6 | use App\Models\RatingGuideQuestion; |
7 | 7 | use App\Models\Criteria; |
8 | - |
|
9 | 8 | use Illuminate\Http\Request; |
10 | -use Illuminate\Http\Response; |
|
11 | 9 | |
12 | 10 | class RatingGuideAnswerController extends Controller |
13 | 11 | { |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use App\Models\RatingGuideQuestion; |
6 | 6 | use App\Models\JobPoster; |
7 | 7 | use App\Models\Lookup\AssessmentType; |
8 | - |
|
9 | 8 | use Illuminate\Http\Request; |
10 | -use Illuminate\Http\Response; |
|
11 | 9 | |
12 | 10 | class RatingGuideQuestionController extends Controller |
13 | 11 | { |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace App\Http\Controllers; |
4 | 4 | |
5 | 5 | use Illuminate\Support\Facades\Lang; |
6 | -use Illuminate\Support\Facades\Log; |
|
7 | 6 | use Illuminate\Http\Request; |
8 | 7 | use App\Http\Controllers\Controller; |
9 | -use App\Models\Skill; |
|
10 | 8 | use App\Models\Applicant; |
11 | 9 | use App\Models\Reference; |
12 | 10 | use App\Models\Project; |
13 | -use App\Models\Lookup\Relationship; |
|
14 | 11 | use App\Services\Validation\Requests\UpdateReferenceValidator; |
15 | 12 | |
16 | 13 | class ReferencesController extends Controller |
@@ -3,15 +3,12 @@ |
||
3 | 3 | namespace App\Http\Controllers; |
4 | 4 | |
5 | 5 | use Illuminate\Support\Facades\Lang; |
6 | -use Illuminate\Support\Facades\Log; |
|
7 | 6 | use Illuminate\Http\Request; |
8 | 7 | use App\Models\Skill; |
9 | -use App\Models\Lookup\SkillLevel; |
|
10 | 8 | use App\Models\Lookup\SkillStatus; |
11 | 9 | use App\Models\SkillDeclaration; |
12 | 10 | use App\Models\Applicant; |
13 | 11 | use App\Http\Controllers\Controller; |
14 | -use App\Services\Validation\BulkSkillDeclarationValidator; |
|
15 | 12 | use App\Services\Validation\SkillDeclarationValidator; |
16 | 13 | |
17 | 14 | class SkillDeclarationController extends Controller |