@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class User implements JsonSerializable{ |
|
3 | +class User implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | protected $user_id; |
6 | 6 | protected $email; |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $getter_names = get_class_methods(get_class($this)); |
33 | 33 | $gettable_attributes = array(); |
34 | 34 | foreach ($getter_names as $key => $value) { |
35 | - if(substr($value, 0, 3) === 'get') { |
|
35 | + if (substr($value, 0, 3) === 'get') { |
|
36 | 36 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
37 | 37 | } |
38 | 38 | } |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | protected $mime_type; |
7 | 7 | protected $size; |
8 | 8 | |
9 | - public function __construct($file=null, $mime_type=null, $size=null) { |
|
9 | + public function __construct($file = null, $mime_type = null, $size = null) { |
|
10 | 10 | $this->file = $file; |
11 | 11 | $this->mime_type = $mime_type; |
12 | 12 | $this->size = $size; |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | $getter_names = get_class_methods(get_class($this)); |
18 | 18 | $gettable_attributes = array(); |
19 | 19 | foreach ($getter_names as $key => $value) { |
20 | - if(substr($value, 0, 3) === 'get') { |
|
20 | + if (substr($value, 0, 3) === 'get') { |
|
21 | 21 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
22 | 22 | } |
23 | 23 | } |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @author GBowden |
13 | 13 | */ |
14 | -class JobPosters implements JsonSerializable{ |
|
14 | +class JobPosters implements JsonSerializable { |
|
15 | 15 | |
16 | 16 | protected $jobs; |
17 | 17 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | } |
21 | 21 | |
22 | 22 | public function jsonSerialize() { |
23 | - return array( 'jobs' => $this->jobs ); |
|
23 | + return array('jobs' => $this->jobs); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | public function getJobs() { |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class SkillDeclaration implements JsonSerializable{ |
|
3 | +class SkillDeclaration implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | protected $skill_declaration_id; |
6 | 6 | protected $skill; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | protected $description; |
12 | 12 | protected $last_updated; |
13 | 13 | |
14 | - public function __construct($skill_declaration_id=null, $skill=null, $criteria_id=null, $criteria_type=null, $experience_level_id=null, $skill_level_id=null, $description=null, $last_updated=null) { |
|
14 | + public function __construct($skill_declaration_id = null, $skill = null, $criteria_id = null, $criteria_type = null, $experience_level_id = null, $skill_level_id = null, $description = null, $last_updated = null) { |
|
15 | 15 | $this->skill_declaration_id = $skill_declaration_id; |
16 | 16 | $this->skill = $skill; |
17 | 17 | $this->criteria_id = $criteria_id; |
@@ -26,7 +26,7 @@ discard block |
||
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 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param BasicWorkEnvironment $basic_work_environment |
11 | 11 | * @param WorkplacePhotoCaption[] $workplace_photo_captions |
12 | 12 | */ |
13 | - public function __construct($basic_work_environment=null,$workplace_photo_captions=[]) { |
|
13 | + public function __construct($basic_work_environment = null, $workplace_photo_captions = []) { |
|
14 | 14 | $this->basic_work_environment = $basic_work_environment; |
15 | 15 | $this->workplace_photo_captions = $workplace_photo_captions; |
16 | 16 | } |
@@ -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 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * and open the template in the editor. |
7 | 7 | */ |
8 | 8 | |
9 | -class Locale{ |
|
9 | +class Locale { |
|
10 | 10 | |
11 | 11 | private $locale_id; |
12 | 12 | private $locale_iso; |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @param string $how_we_work_en |
28 | 28 | * @param string $how_we_work_fr |
29 | 29 | */ |
30 | - public function __construct($team_culture_id=null, $team_size=null,$gc_directory_url=null,$narrative_text_en=null,$narrative_text_fr=null,$operating_context_en=null,$operating_context_fr=null,$what_we_value_en=null,$what_we_value_fr=null,$how_we_work_en=null,$how_we_work_fr=null) { |
|
30 | + public function __construct($team_culture_id = null, $team_size = null, $gc_directory_url = null, $narrative_text_en = null, $narrative_text_fr = null, $operating_context_en = null, $operating_context_fr = null, $what_we_value_en = null, $what_we_value_fr = null, $how_we_work_en = null, $how_we_work_fr = null) { |
|
31 | 31 | $this->team_culture_id = $team_culture_id; |
32 | 32 | $this->team_size = $team_size; |
33 | 33 | $this->gc_directory_url = $gc_directory_url; |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $getter_names = get_class_methods(get_class($this)); |
46 | 46 | $gettable_attributes = array(); |
47 | 47 | foreach ($getter_names as $key => $value) { |
48 | - if(substr($value, 0, 3) === 'get') { |
|
48 | + if (substr($value, 0, 3) === 'get') { |
|
49 | 49 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
50 | 50 | } |
51 | 51 | } |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * and open the template in the editor. |
7 | 7 | */ |
8 | 8 | |
9 | -class ManagerProfile implements JsonSerializable{ |
|
9 | +class ManagerProfile implements JsonSerializable { |
|
10 | 10 | |
11 | 11 | private $user_manager_profile_id; |
12 | 12 | private $user_manager_profile_department_id; |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $getter_names = get_class_methods(get_class($this)); |
30 | 30 | $gettable_attributes = array(); |
31 | 31 | foreach ($getter_names as $key => $value) { |
32 | - if(substr($value, 0, 3) === 'get') { |
|
32 | + if (substr($value, 0, 3) === 'get') { |
|
33 | 33 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
34 | 34 | } |
35 | 35 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | require_once '../model/JobPosterApplication.php'; |
4 | 4 | require_once '../model/ApplicationQuestionAnswer.php'; |
5 | 5 | |
6 | -class JobApplicationWithAnswers implements JsonSerializable{ |
|
6 | +class JobApplicationWithAnswers implements JsonSerializable { |
|
7 | 7 | |
8 | 8 | private $job_poster_application; |
9 | 9 | private $application_question_answers; |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @param JobPosterApplication $job_poster_application |
14 | 14 | * @param ApplicationQuestionAnswer[] $application_question_answers |
15 | 15 | */ |
16 | - public function __construct($job_poster_application = null,$application_question_answers = []) { |
|
16 | + public function __construct($job_poster_application = null, $application_question_answers = []) { |
|
17 | 17 | $this->job_poster_application = $job_poster_application; |
18 | 18 | $this->application_question_answers = $application_question_answers; |
19 | 19 | } |
@@ -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 | } |