Passed
Push — task/common-translation-packag... ( 19e78f...19e78f )
by Grant
15:18 queued 07:19
created
app/Models/ProfilePic.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  *
21 21
  * @property \App\Models\User $user
22 22
  */
23
-class ProfilePic extends BaseModel {
23
+class ProfilePic extends BaseModel{
24 24
 
25 25
     protected $casts = [
26 26
         'user_id' => 'int',
Please login to merge, or discard this patch.
app/Models/Lookup/SkillStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  *
19 19
  * @property \Illuminate\Database\Eloquent\Collection $skill_declarations
20 20
  */
21
-class SkillStatus extends BaseModel {
21
+class SkillStatus extends BaseModel{
22 22
 
23 23
     protected $fillable = [
24 24
         'name'
Please login to merge, or discard this patch.
app/Models/Lookup/VeteranStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * @property \Illuminate\Database\Eloquent\Collection $job_applications
16 16
  *
17 17
  */
18
-class VeteranStatus extends BaseModel {
18
+class VeteranStatus extends BaseModel{
19 19
 
20 20
     protected $fillable = [];
21 21
 
Please login to merge, or discard this patch.
app/Models/Lookup/ApplicantProfileQuestion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  * @property string $question
25 25
  * @property string $description
26 26
  */
27
-class ApplicantProfileQuestion extends BaseModel {
27
+class ApplicantProfileQuestion extends BaseModel{
28 28
 
29 29
     protected $fillable = [];
30 30
 
Please login to merge, or discard this patch.
app/Models/Lookup/ReviewStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * Acessors:
17 17
  * @property string $translation
18 18
  */
19
-class ReviewStatus extends BaseModel {
19
+class ReviewStatus extends BaseModel{
20 20
 
21 21
     protected $fillable = [];
22 22
 
Please login to merge, or discard this patch.
app/Models/Lookup/SkillType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  *
15 15
  * @property \Illuminate\Database\Eloquent\Collection $skills
16 16
  */
17
-class SkillType extends BaseModel {
17
+class SkillType extends BaseModel{
18 18
 
19 19
     protected $fillable = [
20 20
         'name'
Please login to merge, or discard this patch.
app/Models/Lookup/PreferredLanguage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * @property \Illuminate\Database\Eloquent\Collection $job_applications
16 16
  *
17 17
  */
18
-class PreferredLanguage extends BaseModel {
18
+class PreferredLanguage extends BaseModel{
19 19
 
20 20
     protected $fillable = [];
21 21
 
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicationController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
50 50
 
51 51
         // Display slightly different views on different portals.
52 52
         $view = WhichPortal::isManagerPortal() ?
53
-            'manager/application_post' :
54
-            'applicant/application_preview';
53
+            'manager/application_post' : 'applicant/application_preview';
55 54
 
56 55
         if (WhichPortal::isManagerPortal()) {
57 56
             // Load things required for review component.
Please login to merge, or discard this patch.
app/Policies/ApplicantPolicy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function view(User $user, Applicant $applicant)
45 45
     {
46
-        $authApplicant =  $user->isApplicant() &&
46
+        $authApplicant = $user->isApplicant() &&
47 47
             $applicant->user->is($user);
48 48
         $authManager = $user->isManager() && $this->ownsJobApplicantAppliedTo($user, $applicant);
49 49
         return $authApplicant || $authManager;
Please login to merge, or discard this patch.