@@ -234,6 +234,6 @@ |
||
234 | 234 | */ |
235 | 235 | public function getFullNameAttribute(): string |
236 | 236 | { |
237 | - return $this->first_name . ' ' . $this->last_name; |
|
237 | + return $this->first_name.' '.$this->last_name; |
|
238 | 238 | } |
239 | 239 | } |
@@ -187,7 +187,7 @@ |
||
187 | 187 | public function getFullNameAttribute(): string |
188 | 188 | { |
189 | 189 | if ($this->user !== null) { |
190 | - return $this->user->first_name . ' ' . $this->user->last_name; |
|
190 | + return $this->user->first_name.' '.$this->user->last_name; |
|
191 | 191 | } |
192 | 192 | return ''; |
193 | 193 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | //Log when application is first created |
41 | - if($application->wasRecentlyCreated) { |
|
41 | + if ($application->wasRecentlyCreated) { |
|
42 | 42 | $applicationText = "{id=".$application->id.", status=".$application->application_status->name."}"; |
43 | 43 | |
44 | 44 | Log::notice("Application created: application ".$applicationText." has been created by user ".$userText); |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function passes($attribute, $value) |
25 | 25 | { |
26 | - return preg_match('/' . self::PATTERN . '/', $value); |
|
26 | + return preg_match('/'.self::PATTERN.'/', $value); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
@@ -60,7 +60,7 @@ |
||
60 | 60 | // search $needle in process status |
61 | 61 | $result = array_filter( |
62 | 62 | $process_status, |
63 | - function ($var) use ($needle) { |
|
63 | + function($var) use ($needle) { |
|
64 | 64 | return strpos($var, $needle); |
65 | 65 | } |
66 | 66 | ); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | 'user' => request()->user(), |
69 | 69 | 'requestUrl' => request()->url() |
70 | 70 | ]; |
71 | - $message = '419 CSRF Token Mismatch. ' . collect($logData)->toJson(); |
|
71 | + $message = '419 CSRF Token Mismatch. '.collect($logData)->toJson(); |
|
72 | 72 | Log::debug($message); |
73 | 73 | } |
74 | 74 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | return $exception->render($request); |
110 | 110 | } |
111 | 111 | if ($exception instanceof TokenMismatchException) { |
112 | - $newMessage = $exception->getMessage() . ' ' . Lang::get('errors.refresh_page'); |
|
112 | + $newMessage = $exception->getMessage().' '.Lang::get('errors.refresh_page'); |
|
113 | 113 | $modifiedException = new TokenMismatchException($newMessage, $exception->getCode(), $exception); |
114 | 114 | return parent::render($request, $modifiedException); |
115 | 115 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | // Ensure the user can make answers, question exists, and user is the owner of the question it answers. |
21 | 21 | if ($this->user()->can('create', RatingGuideAnswer::class)) { |
22 | - $questionId = (int) $this->input('rating_guide_question_id'); |
|
22 | + $questionId = (int)$this->input('rating_guide_question_id'); |
|
23 | 23 | if ($questionId) { |
24 | 24 | $question = RatingGuideQuestion::find($questionId); |
25 | 25 | return $question && $this->user()->can('update', $question); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public function rules() : array |
26 | 26 | { |
27 | 27 | return [ |
28 | - 'name' => 'required|unique_translation:skills,name' . (isset($this->id) ? ",{$this->id}" : ''), |
|
28 | + 'name' => 'required|unique_translation:skills,name'.(isset($this->id) ? ",{$this->id}" : ''), |
|
29 | 29 | 'description' => 'required', |
30 | 30 | 'skill_type_id' => 'exists:skill_types,id' |
31 | 31 | ]; |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
65 | - $isUnsaved = function ($criteria, $savedIds): bool { |
|
65 | + $isUnsaved = function($criteria, $savedIds): bool { |
|
66 | 66 | return !array_key_exists('id', $criteria) || !in_array($criteria['id'], $savedIds); |
67 | 67 | }; |
68 | 68 | |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | $newSkillId = null, |
164 | 164 | $newSkillLevelId = null, |
165 | 165 | $newCriteriaTypeId = null |
166 | - ) { |
|
166 | + ){ |
|
167 | 167 | $notification = new AssessmentPlanNotification(); |
168 | 168 | $notification->job_poster_id = $criteria->job_poster_id; |
169 | 169 | $notification->type = $type; |