@@ -13,9 +13,9 @@ |
||
13 | 13 | public function init() |
14 | 14 | { |
15 | 15 | $this->setName('education') |
16 | - ->setHydrator(new EntityHydrator()) |
|
17 | - ->setObject(new EducationEntity()) |
|
18 | - ->setLabel('Education'); |
|
16 | + ->setHydrator(new EntityHydrator()) |
|
17 | + ->setObject(new EducationEntity()) |
|
18 | + ->setLabel('Education'); |
|
19 | 19 | |
20 | 20 | $this->add( |
21 | 21 | array( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('employment') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new EmploymentEntity()) |
|
16 | - ->setLabel('Employment'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new EmploymentEntity()) |
|
16 | + ->setLabel('Employment'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('language') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new LanguageEntity()) |
|
16 | - ->setLabel('Language'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new LanguageEntity()) |
|
16 | + ->setLabel('Language'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('skill') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new SkillEntity()) |
|
16 | - ->setLabel('Language'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new SkillEntity()) |
|
16 | + ->setLabel('Language'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** PaginationQuery.php */ |
11 | 11 | namespace Cv\Repository\Filter; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | parent::createQuery($params, $queryBuilder); |
22 | 22 | $queryBuilder |
23 | - ->hydrate(false); |
|
23 | + ->hydrate(false); |
|
24 | 24 | |
25 | 25 | |
26 | 26 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | class JsonPaginationQueryFactory implements FactoryInterface |
16 | 16 | { |
17 | - public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
17 | + public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
18 | 18 | { |
19 | 19 | $services = $serviceLocator->getServiceLocator(); |
20 | 20 | $auth = $services->get('AuthenticationService'); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | class JsonPaginationQueryFactory implements FactoryInterface |
16 | 16 | { |
17 | - public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
17 | + public function createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
18 | 18 | { |
19 | 19 | $services = $serviceLocator->getServiceLocator(); |
20 | 20 | $auth = $services->get('AuthenticationService'); |
@@ -71,7 +71,7 @@ |
||
71 | 71 | 'form_elements' => array( |
72 | 72 | 'invokables' => array( |
73 | 73 | 'Location' => 'Geo\Form\GeoText', |
74 | - ), |
|
74 | + ), |
|
75 | 75 | ), |
76 | 76 | |
77 | 77 | 'view_manager' => array( |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * for multiple paths. |
17 | 17 | * example https://github.com/doctrine/DoctrineORMModule |
18 | 18 | */ |
19 | - 'paths' => array( __DIR__ . '/../src/Geo/Entity'), |
|
19 | + 'paths' => array(__DIR__ . '/../src/Geo/Entity'), |
|
20 | 20 | ), |
21 | 21 | ), |
22 | 22 | 'eventmanager' => array( |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | $query = $this->params()->fromQuery(); |
29 | 29 | |
30 | - $geoApi = $this->getPluginManager()->get('geo/'.$this->params('plugin')); |
|
30 | + $geoApi = $this->getPluginManager()->get('geo/' . $this->params('plugin')); |
|
31 | 31 | $result = array(); |
32 | 32 | if (!empty($query['q'])) { |
33 | 33 | $result = $geoApi($query['q']); |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Geo\Controller\Plugin; |
11 | 11 | |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | $config = $this->getController()->getServiceLocator()->get('config'); |
22 | 22 | if (empty($config['geocoder_cross_url'])) { |
23 | - throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available'); |
|
23 | + throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available'); |
|
24 | 24 | } |
25 | 25 | $client = new \Zend\Http\Client($config['geocoder_photon_url']); |
26 | 26 | $client->setMethod('GET'); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $client->setMethod('GET'); |
27 | 27 | // more countries 'country' => 'DE,CH,AT' |
28 | 28 | // with countryCode 'zoom' => 2 |
29 | - $plz = 0 < (int) $par?1:0; |
|
29 | + $plz = 0 < (int) $par ? 1 : 0; |
|
30 | 30 | $client->setParameterGet(array('q' => $par, 'country' => 'DE', 'plz' => $plz, 'zoom' => 1)); |
31 | 31 | $response = $client->send(); |
32 | 32 | $result = $response->getBody(); |