@@ -26,7 +26,7 @@ |
||
26 | 26 | $getter_names = get_class_methods(get_class($this)); |
27 | 27 | $gettable_attributes = array(); |
28 | 28 | foreach ($getter_names as $key => $value) { |
29 | - if(substr($value, 0, 3) === 'get') { |
|
29 | + if (substr($value, 0, 3) === 'get') { |
|
30 | 30 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
31 | 31 | } |
32 | 32 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->user_id = $user_id; |
35 | 35 | } |
36 | 36 | |
37 | - public function jsonSerialize() { |
|
37 | + public function jsonSerialize() { |
|
38 | 38 | $getter_names = get_class_methods(get_class($this)); |
39 | 39 | $gettable_attributes = array(); |
40 | 40 | foreach ($getter_names as $key => $value) { |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | |
9 | 9 | require_once '../model/JobSeekerProfileAnswer.php'; |
10 | 10 | |
11 | -class JobSeekerProfile implements JsonSerializable{ |
|
11 | +class JobSeekerProfile implements JsonSerializable { |
|
12 | 12 | |
13 | 13 | private $job_seeker_profile_id; |
14 | 14 | private $job_seeker_profile_name; |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | private $last_updated; |
22 | 22 | private $user_id; |
23 | 23 | |
24 | - public function __construct($job_seeker_profile_id=null, $job_seeker_profile_name=null, $job_seeker_profile_email=null, $job_seeker_profile_link=null, $job_seeker_profile_tagline=null, $job_seeker_profile_twitter_link=null, $job_seeker_profile_linkedin_link=null, $last_updated=null, $job_seeker_profile_answers = [], $user_id=null) { |
|
24 | + public function __construct($job_seeker_profile_id = null, $job_seeker_profile_name = null, $job_seeker_profile_email = null, $job_seeker_profile_link = null, $job_seeker_profile_tagline = null, $job_seeker_profile_twitter_link = null, $job_seeker_profile_linkedin_link = null, $last_updated = null, $job_seeker_profile_answers = [], $user_id = null) { |
|
25 | 25 | $this->job_seeker_profile_id = $job_seeker_profile_id; |
26 | 26 | $this->job_seeker_profile_name = $job_seeker_profile_name; |
27 | 27 | $this->job_seeker_profile_email = $job_seeker_profile_email; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $getter_names = get_class_methods(get_class($this)); |
39 | 39 | $gettable_attributes = array(); |
40 | 40 | foreach ($getter_names as $key => $value) { |
41 | - if(substr($value, 0, 3) === 'get') { |
|
41 | + if (substr($value, 0, 3) === 'get') { |
|
42 | 42 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
43 | 43 | } |
44 | 44 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class LocalizedValues implements JsonSerializable{ |
|
3 | +class LocalizedValues implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | private $en_value; |
6 | 6 | private $fr_value; |
@@ -6,13 +6,13 @@ discard block |
||
6 | 6 | * and open the template in the editor. |
7 | 7 | */ |
8 | 8 | |
9 | -class LookupWithDescription implements JsonSerializable{ |
|
9 | +class LookupWithDescription implements JsonSerializable { |
|
10 | 10 | |
11 | 11 | protected $id; |
12 | 12 | protected $value; |
13 | 13 | protected $description; |
14 | 14 | |
15 | - public function __construct($id=null, $value=null, $description=null) { |
|
15 | + public function __construct($id = null, $value = null, $description = null) { |
|
16 | 16 | $this->id = $id; |
17 | 17 | $this->value = $value; |
18 | 18 | $this->description; |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | $getter_names = get_class_methods(get_class($this)); |
23 | 23 | $gettable_attributes = array(); |
24 | 24 | foreach ($getter_names as $key => $value) { |
25 | - if(substr($value, 0, 3) === 'get') { |
|
25 | + if (substr($value, 0, 3) === 'get') { |
|
26 | 26 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
27 | 27 | } |
28 | 28 | } |
@@ -61,4 +61,4 @@ |
||
61 | 61 | return $this; |
62 | 62 | } |
63 | 63 | } |
64 | - |
|
65 | 64 | \ No newline at end of file |
65 | + |
|
66 | 66 | \ No newline at end of file |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | private $workplace_photo_id; |
8 | 8 | private $description; |
9 | 9 | |
10 | - public function __construct($work_environment_id=null, $photo_name=null, $workplace_photo_id=null, $description=null) { |
|
10 | + public function __construct($work_environment_id = null, $photo_name = null, $workplace_photo_id = null, $description = null) { |
|
11 | 11 | $this->work_environment_id = $work_environment_id; |
12 | 12 | $this->photo_name = $photo_name; |
13 | 13 | $this->workplace_photo_id = $workplace_photo_id; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $getter_names = get_class_methods(get_class($this)); |
19 | 19 | $gettable_attributes = array(); |
20 | 20 | foreach ($getter_names as $key => $value) { |
21 | - if(substr($value, 0, 3) === 'get') { |
|
21 | + if (substr($value, 0, 3) === 'get') { |
|
22 | 22 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
23 | 23 | } |
24 | 24 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class JobSeekerProfileAnswer implements JsonSerializable{ |
|
3 | +class JobSeekerProfileAnswer implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | private $job_seeker_profile_question_id; |
6 | 6 | private $answer; |
7 | 7 | |
8 | - public function __construct($job_seeker_profile_question_id=null,$answer=null) { |
|
8 | + public function __construct($job_seeker_profile_question_id = null, $answer = null) { |
|
9 | 9 | $this->job_seeker_profile_question_id = $job_seeker_profile_question_id; |
10 | 10 | $this->answer = $answer; |
11 | 11 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | $getter_names = get_class_methods(get_class($this)); |
15 | 15 | $gettable_attributes = array(); |
16 | 16 | foreach ($getter_names as $key => $value) { |
17 | - if(substr($value, 0, 3) === 'get') { |
|
17 | + if (substr($value, 0, 3) === 'get') { |
|
18 | 18 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
19 | 19 | } |
20 | 20 | } |
@@ -2,13 +2,13 @@ discard block |
||
2 | 2 | |
3 | 3 | require_once '../model/WorkSample.php'; |
4 | 4 | |
5 | -class ApplicationWorkSample implements JsonSerializable{ |
|
5 | +class ApplicationWorkSample implements JsonSerializable { |
|
6 | 6 | |
7 | 7 | protected $criteria_id; |
8 | 8 | protected $job_poster_appliction_id; |
9 | 9 | protected $work_sample; |
10 | 10 | |
11 | - public function __construct($criteria_id=null,$job_poster_appliction_id=null,WorkSample $work_sample=null) { |
|
11 | + public function __construct($criteria_id = null, $job_poster_appliction_id = null, WorkSample $work_sample = null) { |
|
12 | 12 | $this->criteria_id = $criteria_id; |
13 | 13 | $this->job_poster_appliction_id = $job_poster_appliction_id; |
14 | 14 | $this->work_sample = $work_sample; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $getter_names = get_class_methods(get_class($this)); |
19 | 19 | $gettable_attributes = array(); |
20 | 20 | foreach ($getter_names as $key => $value) { |
21 | - if(substr($value, 0, 3) === 'get') { |
|
21 | + if (substr($value, 0, 3) === 'get') { |
|
22 | 22 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
23 | 23 | } |
24 | 24 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class JobPosterQuestion implements JsonSerializable{ |
|
3 | +class JobPosterQuestion implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | private $id; |
6 | 6 | private $locale; |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | private $description; |
9 | 9 | |
10 | 10 | |
11 | - public function __construct($id = null, $locale=null,$question = null, $description=null) { |
|
11 | + public function __construct($id = null, $locale = null, $question = null, $description = null) { |
|
12 | 12 | $this->id = $id; |
13 | 13 | $this->locale = $locale; |
14 | 14 | $this->question = $question; |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $getter_names = get_class_methods(get_class($this)); |
20 | 20 | $gettable_attributes = array(); |
21 | 21 | foreach ($getter_names as $key => $value) { |
22 | - if(substr($value, 0, 3) === 'get') { |
|
22 | + if (substr($value, 0, 3) === 'get') { |
|
23 | 23 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
24 | 24 | } |
25 | 25 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @param string $gc_directory_url |
17 | 17 | * @param string $narrative_text |
18 | 18 | */ |
19 | - public function __construct($team_culture_id=null,$team_size=null,$gc_directory_url=null,$narrative_text=null,$operating_context=null,$what_we_value=null,$how_we_work=null) { |
|
19 | + public function __construct($team_culture_id = null, $team_size = null, $gc_directory_url = null, $narrative_text = null, $operating_context = null, $what_we_value = null, $how_we_work = null) { |
|
20 | 20 | $this->team_culture_id = $team_culture_id; |
21 | 21 | $this->team_size = $team_size; |
22 | 22 | $this->gc_directory_url = $gc_directory_url; |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $getter_names = get_class_methods(get_class($this)); |
31 | 31 | $gettable_attributes = array(); |
32 | 32 | foreach ($getter_names as $key => $value) { |
33 | - if(substr($value, 0, 3) === 'get') { |
|
33 | + if (substr($value, 0, 3) === 'get') { |
|
34 | 34 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
35 | 35 | } |
36 | 36 | } |