@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @var String |
| 26 | 26 | */ |
| 27 | - protected $repositoryName="Organizations/Organization"; |
|
| 27 | + protected $repositoryName = "Organizations/Organization"; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Sortable fields |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * |
| 62 | 62 | * @var array() |
| 63 | 63 | */ |
| 64 | - protected $enableLogins = ['facebook','xing','linkedin','google','github']; |
|
| 64 | + protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github']; |
|
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * Enable Registration |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * @param $options ModuleOptions |
| 29 | 29 | * @param $config array |
| 30 | 30 | */ |
| 31 | - public function __construct($options,$config) |
|
| 31 | + public function __construct($options, $config) |
|
| 32 | 32 | { |
| 33 | 33 | $this->options = $options; |
| 34 | 34 | $this->config = $config; |
@@ -42,9 +42,9 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function __invoke() |
| 44 | 44 | { |
| 45 | - $SocialNetworksEnabled=[]; |
|
| 46 | - foreach($this->config['hybridauth'] as $key => $val) { |
|
| 47 | - if ($val['enabled'] and in_array(strtolower($key), $this->options->getEnableLogins())){ |
|
| 45 | + $SocialNetworksEnabled = []; |
|
| 46 | + foreach ($this->config['hybridauth'] as $key => $val) { |
|
| 47 | + if ($val['enabled'] and in_array(strtolower($key), $this->options->getEnableLogins())) { |
|
| 48 | 48 | $SocialNetworksEnabled[strtolower($key)] = $key; |
| 49 | 49 | } |
| 50 | 50 | } |
@@ -40,9 +40,9 @@ |
||
| 40 | 40 | * @var array |
| 41 | 41 | */ |
| 42 | 42 | protected $reCaptcha = [ |
| 43 | - 'public_key' => 'Your Recapture Public Key', // "site_key" |
|
| 44 | - 'private_key' => 'Your Recapture Private Key', // "secret_key" |
|
| 45 | - 'ssl' => true, // include google api via http(s) |
|
| 43 | + 'public_key' => 'Your Recapture Public Key', // "site_key" |
|
| 44 | + 'private_key' => 'Your Recapture Private Key', // "secret_key" |
|
| 45 | + 'ssl' => true, // include google api via http(s) |
|
| 46 | 46 | ]; |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | $response->setStatusCode(Response::STATUS_CODE_404); |
| 42 | 42 | return $response; |
| 43 | 43 | } |
| 44 | - $jsonModel=new JsonModel(); |
|
| 44 | + $jsonModel = new JsonModel(); |
|
| 45 | 45 | $jsonModel->setVariables($this->apiJobDehydrator->dehydrateList($jobs)); |
| 46 | 46 | $jsonModel->setJsonpCallback('yawikParseJobs'); |
| 47 | 47 | |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | ), |
| 46 | 46 | 'attributes' => array( |
| 47 | 47 | 'value' => Status::CREATED, |
| 48 | - 'data-searchbox' => -1, // hide the search box |
|
| 48 | + 'data-searchbox' => -1, // hide the search box |
|
| 49 | 49 | 'data-allowclear' => 'false', // allow to clear a selected value |
| 50 | 50 | ) |
| 51 | 51 | ) |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | ), |
| 56 | 56 | 'attributes' => [ |
| 57 | 57 | 'value' => '10', // default distance |
| 58 | - 'data-searchbox' => -1, // hide the search box |
|
| 58 | + 'data-searchbox' => -1, // hide the search box |
|
| 59 | 59 | 'data-allowclear' => 'false', // allow to clear a selected value |
| 60 | 60 | 'data-placeholder' => /*@translate*/ 'Distance', |
| 61 | 61 | ] |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | 'attributes' => [ |
| 122 | 122 | 'data-placeholder' => /*@translate*/ 'please select', |
| 123 | 123 | 'data-allowclear' => 'false', |
| 124 | - 'data-searchbox' => -1, // hide the search box |
|
| 124 | + 'data-searchbox' => -1, // hide the search box |
|
| 125 | 125 | 'required' => true, // mark label as required |
| 126 | 126 | ], |
| 127 | 127 | ) |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | */ |
| 82 | 82 | public function setLabelQualifications($labelQualifications) |
| 83 | 83 | { |
| 84 | - $this->labelQualifications=$labelQualifications; |
|
| 84 | + $this->labelQualifications = $labelQualifications; |
|
| 85 | 85 | return $this; |
| 86 | 86 | } |
| 87 | 87 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | public function setLabelBenefits($labelBenefits) |
| 106 | 106 | { |
| 107 | - $this->labelBenefits=$labelBenefits; |
|
| 107 | + $this->labelBenefits = $labelBenefits; |
|
| 108 | 108 | return $this; |
| 109 | 109 | } |
| 110 | 110 | |