@@ -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 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
33 | 33 | { |
34 | - $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
34 | + $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
35 | 35 | $filter = new PaginationQuery($auth); |
36 | 36 | return $filter; |
37 | 37 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
33 | 33 | { |
34 | - $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
34 | + $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService'); |
|
35 | 35 | $filter = new PaginationQuery($auth); |
36 | 36 | return $filter; |
37 | 37 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function setHouseNumber($houseNumber = "") |
73 | 73 | { |
74 | - $this->houseNumber=$houseNumber; |
|
74 | + $this->houseNumber = $houseNumber; |
|
75 | 75 | return $this; |
76 | 76 | } |
77 | 77 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function setStreet($street = "") |
139 | 139 | { |
140 | - $this->street=$street; |
|
140 | + $this->street = $street; |
|
141 | 141 | return $this; |
142 | 142 | } |
143 | 143 | |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | */ |
161 | 161 | public function setPhone($phone = "") |
162 | 162 | { |
163 | - $this->phone=$phone; |
|
163 | + $this->phone = $phone; |
|
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | */ |
183 | 183 | public function setFax($fax = "") |
184 | 184 | { |
185 | - $this->fax=$fax; |
|
185 | + $this->fax = $fax; |
|
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
@@ -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 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | /* @var $serviceLocator \Zend\View\HelperPluginManager */ |
27 | 27 | $options = $serviceLocator->getServiceLocator()->get('Auth/Options'); |
28 | 28 | $config = $serviceLocator->getServiceLocator()->get('Config'); |
29 | - $helper = new SocialButtons($options,$config); |
|
29 | + $helper = new SocialButtons($options, $config); |
|
30 | 30 | return $helper; |
31 | 31 | } |
32 | 32 | } |
@@ -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 |