@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function setTypeOfApplication($typeOfApplication) |
| 49 | 49 | { |
| 50 | - $this->typeOfApplication=$typeOfApplication; |
|
| 50 | + $this->typeOfApplication = $typeOfApplication; |
|
| 51 | 51 | return $this; |
| 52 | 52 | } |
| 53 | 53 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | public function setPreferredJob($preferredJob) |
| 65 | 65 | { |
| 66 | - $this->preferredJob=$preferredJob; |
|
| 66 | + $this->preferredJob = $preferredJob; |
|
| 67 | 67 | return $this; |
| 68 | 68 | } |
| 69 | 69 | |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | public function setWillingnessToTravel($willingnessToTravel) |
| 76 | 76 | { |
| 77 | - $this->willingnessToTravel=$willingnessToTravel; |
|
| 77 | + $this->willingnessToTravel = $willingnessToTravel; |
|
| 78 | 78 | return $this; |
| 79 | 79 | } |
| 80 | 80 | |
@@ -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'); |
@@ -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( |
@@ -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(); |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | 'role' => 'admin', |
| 67 | 67 | 'login' => $username, |
| 68 | 68 | 'credential' => $credential, |
| 69 | - 'info' => [ 'email' => $email ] |
|
| 69 | + 'info' => ['email' => $email] |
|
| 70 | 70 | ); |
| 71 | 71 | |
| 72 | 72 | $result = $collection->insert($document); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | class MongoDbConnectionString extends AbstractValidator |
| 23 | 23 | { |
| 24 | - const INVALID = 'invalidConnectionString'; |
|
| 24 | + const INVALID = 'invalidConnectionString'; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Options |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * for multiple paths. |
| 16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
| 17 | 17 | */ |
| 18 | - 'paths' => array( __DIR__ . '/../src/Jobs/Entity'), |
|
| 18 | + 'paths' => array(__DIR__ . '/../src/Jobs/Entity'), |
|
| 19 | 19 | ), |
| 20 | 20 | ), |
| 21 | 21 | 'eventmanager' => array( |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | $entity = $repositoriesJob->findOneBy(array("applyId" => (string) $applyId)); |
| 106 | 106 | if (!isset($entity)) { |
| 107 | 107 | // new Job (the more likely branch) |
| 108 | - $entity =$repositoriesJob->create(array("applyId" => (string) $applyId)); |
|
| 108 | + $entity = $repositoriesJob->create(array("applyId" => (string) $applyId)); |
|
| 109 | 109 | } else { |
| 110 | 110 | $createdJob = false; |
| 111 | 111 | } |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | if (!isset($params['sort'])) { |
| 99 | - $params['sort']='-date'; |
|
| 99 | + $params['sort'] = '-date'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | $this->searchForm->setAttribute('action', $url); |