@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * |
| 11 | 11 | * @author gregg |
| 12 | 12 | */ |
| 13 | -class Label implements JsonSerializable{
|
|
| 13 | +class Label implements JsonSerializable {
|
|
| 14 | 14 | |
| 15 | 15 | protected $labelKey; |
| 16 | 16 | protected $labelValue; |
@@ -62,4 +62,4 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | } |
| 65 | - |
|
| 66 | 65 | \ No newline at end of file |
| 66 | + |
|
| 67 | 67 | \ No newline at end of file |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | private $telework_allowed; |
| 8 | 8 | private $flexible_allowed; |
| 9 | 9 | |
| 10 | - public function __construct($id=null, $remote_allowed=null, $telework_allowed=null, $flexible_allowed=null) { |
|
| 10 | + public function __construct($id = null, $remote_allowed = null, $telework_allowed = null, $flexible_allowed = null) { |
|
| 11 | 11 | $this->id = $id; |
| 12 | 12 | $this->remote_allowed = $remote_allowed; |
| 13 | 13 | $this->telework_allowed = $telework_allowed; |
@@ -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 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 | } |
@@ -65,4 +65,4 @@ |
||
| 65 | 65 | |
| 66 | 66 | |
| 67 | 67 | } |
| 68 | - |
|
| 69 | 68 | \ No newline at end of file |
| 69 | + |
|
| 70 | 70 | \ No newline at end of file |
@@ -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 | } |