Passed
Push — task/comment-model ( 01686c )
by Yonathan
13:23
created
app/Models/Project.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @property \Illuminate\Database\Eloquent\Collection $references
23 23
  */
24
-class Project extends BaseModel {
24
+class Project extends BaseModel{
25 25
 
26 26
     protected $casts = [
27 27
         'name' => 'string',
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
         'end_date'
36 36
     ];
37 37
 
38
-    public function references() {
39
-        return $this->belongsToMany(\App\Models\Reference::class);
38
+    public function references(){
39
+        return $this->belongsToMany (\App\Models\Reference::class);
40 40
     }
41 41
 
42
-    public function applicant() {
43
-        return $this->belongsTo(\App\Models\Applicant::class);
42
+    public function applicant(){
43
+        return $this->belongsTo (\App\Models\Applicant::class);
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
app/Models/Lookup/SkillStatus.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 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'
@@ -29,12 +29,12 @@  discard block
 block discarded – undo
29 29
      */
30 30
     protected $appends = ['status'];
31 31
 
32
-    public function skill_declarations() {
33
-        return $this->hasMany(\App\Models\SkillDeclaration::class);
32
+    public function skill_declarations(){
33
+        return $this->hasMany (\App\Models\SkillDeclaration::class);
34 34
     }
35 35
 
36 36
     // Accessors
37
-    public function getStatusAttribute() {
38
-        return Lang::get('common/skills.status')[$this->name];
37
+    public function getStatusAttribute(){
38
+        return Lang::get ('common/skills.status')[$this->name];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
app/Models/Lookup/PreferredLanguage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 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
 
22
-    public function job_applications() {
23
-        return $this->hasMany(\App\Models\JobApplication::class);
22
+    public function job_applications(){
23
+        return $this->hasMany (\App\Models\JobApplication::class);
24 24
     }
25 25
 
26 26
 }
Please login to merge, or discard this patch.
app/Models/Lookup/ReviewStatus.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 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
 
23
-    public function getTranslationAttribute() {
24
-        return Lang::get('common/lookup/review_status')[$this->name];
23
+    public function getTranslationAttribute(){
24
+        return Lang::get ('common/lookup/review_status')[$this->name];
25 25
     }
26 26
 
27 27
 }
Please login to merge, or discard this patch.
app/Models/Lookup/VeteranStatus.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 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
 
22
-    public function job_applications() {
23
-        return $this->hasMany(\App\Models\JobApplication::class);
22
+    public function job_applications(){
23
+        return $this->hasMany (\App\Models\JobApplication::class);
24 24
     }
25 25
 
26 26
 }
Please login to merge, or discard this patch.
app/Models/Lookup/CourseStatus.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected $table = 'course_status';
20 20
     protected $fillable = [];
21 21
 
22
-    public function courses() {
23
-        return $this->hasMany(\App\Models\Course::class);
22
+    public function courses(){
23
+        return $this->hasMany (\App\Models\Course::class);
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
app/Models/Lookup/DegreeType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 {
19 19
     protected $fillable = [];
20 20
 
21
-    public function degrees() {
22
-        return $this->hasMany(\App\Models\Degree::class);
21
+    public function degrees(){
22
+        return $this->hasMany (\App\Models\Degree::class);
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
app/Models/Lookup/SkillType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 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'
21 21
     ];
22 22
 
23
-    public function skills() {
24
-        return $this->hasMany(\App\Models\Skill::class);
23
+    public function skills(){
24
+        return $this->hasMany (\App\Models\Skill::class);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
app/Models/Lookup/ApplicantProfileQuestion.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,22 +24,22 @@
 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
 
31
-    public function applicant_profile_answers() {
32
-        return $this->hasMany(\App\Models\ApplicantProfileAnswer::class);
31
+    public function applicant_profile_answers(){
32
+        return $this->hasMany (\App\Models\ApplicantProfileAnswer::class);
33 33
     }
34 34
 
35 35
     // Accessors
36 36
 
37
-    public function getQuestionAttribute() {
38
-        return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['question'];
37
+    public function getQuestionAttribute(){
38
+        return Lang::get ('common/lookup/applicant_profile_questions')[$this->name]['question'];
39 39
     }
40 40
 
41
-    public function getDescriptionAttribute() {
42
-        return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['description'];
41
+    public function getDescriptionAttribute(){
42
+        return Lang::get ('common/lookup/applicant_profile_questions')[$this->name]['description'];
43 43
     }
44 44
 
45 45
 }
Please login to merge, or discard this patch.