@@ -220,7 +220,7 @@ |
||
| 220 | 220 | 'job_poster_id' => $hrClosedJob->id |
| 221 | 221 | ]); |
| 222 | 222 | |
| 223 | - // Create first parent skill category. |
|
| 223 | + // Create first parent skill category. |
|
| 224 | 224 | $skillCategoryParentFirst = factory(SkillCategory::class, 1)->create(['depth' => 1]); |
| 225 | 225 | |
| 226 | 226 | // Create second parent skill category. |
@@ -776,7 +776,7 @@ discard block |
||
| 776 | 776 | function (): void { |
| 777 | 777 | // This page is non-localized, because the middleware that redirects to localized |
| 778 | 778 | // pages changes POSTs to GETs and messes up the request. |
| 779 | - Route::match(['get','post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
| 779 | + Route::match(['get', 'post'], 'jobs/create/as-manager/{manager}', 'JobController@createAsManager') |
|
| 780 | 780 | ->middleware('can:create,App\Models\JobPoster') |
| 781 | 781 | ->name('admin.jobs.create_as_manager'); |
| 782 | 782 | |
@@ -863,7 +863,7 @@ discard block |
||
| 863 | 863 | ->name('jobs.setJobStatus'); |
| 864 | 864 | Route::resource('jobs', 'Api\JobController')->only([ |
| 865 | 865 | 'show', 'store', 'update', 'index' |
| 866 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
| 866 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
| 867 | 867 | 'show' => 'jobs.show', |
| 868 | 868 | 'store' => 'jobs.store', |
| 869 | 869 | 'update' => 'jobs.update', |
@@ -892,7 +892,7 @@ discard block |
||
| 892 | 892 | |
| 893 | 893 | Route::resource('managers', 'Api\ManagerController')->only([ |
| 894 | 894 | 'show', 'update' |
| 895 | - ])->names([ // Specify custom names because default names collied with existing routes. |
|
| 895 | + ])->names([// Specify custom names because default names collied with existing routes. |
|
| 896 | 896 | 'show' => 'managers.show', |
| 897 | 897 | 'update' => 'managers.update' |
| 898 | 898 | ]); |