@@ -12,7 +12,7 @@ |
||
12 | 12 | class ApplicationValidator |
13 | 13 | { |
14 | 14 | |
15 | - public $backendRules = [ |
|
15 | + public $backendRules = [ |
|
16 | 16 | 'job_poster_id' => 'required', |
17 | 17 | 'application_status_id' => 'required', |
18 | 18 | 'applicant_id' => 'required', |
@@ -213,7 +213,7 @@ |
||
213 | 213 | */ |
214 | 214 | public function downloadApplicants(User $user, JobPoster $jobPoster): bool |
215 | 215 | { |
216 | - return $user->isAdmin() && ( $jobPoster->status() == 'published' || $jobPoster->status() == 'closed' ); |
|
216 | + return $user->isAdmin() && ($jobPoster->status() == 'published' || $jobPoster->status() == 'closed'); |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | } |