@@ -380,10 +380,10 @@ |
||
| 380 | 380 | return $this; |
| 381 | 381 | } |
| 382 | 382 | |
| 383 | - /** |
|
| 384 | - * (non-PHPdoc) |
|
| 385 | - * @see \Jobs\Entity\JobInterface::getOrganization() |
|
| 386 | - */ |
|
| 383 | + /** |
|
| 384 | + * (non-PHPdoc) |
|
| 385 | + * @see \Jobs\Entity\JobInterface::getOrganization() |
|
| 386 | + */ |
|
| 387 | 387 | public function getOrganization() |
| 388 | 388 | { |
| 389 | 389 | return $this->organization; |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | if (isset($this->value['location']->coordinates)) { |
| 83 | 83 | $coordinates = $this->value['location']->coordinates->getCoordinates(); |
| 84 | - $queryBuilder->field('locations.coordinates')->geoWithinCenter($coordinates[0], $coordinates[1],(float) $this->value['d']/100); |
|
| 84 | + $queryBuilder->field('locations.coordinates')->geoWithinCenter($coordinates[0], $coordinates[1], (float) $this->value['d'] / 100); |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | if (isset($this->value['params']['by']) && 'me' == $this->value['params']['by']) { |
| 96 | 96 | $queryBuilder->field('user')->equals($this->user->id); |
| 97 | - }else{ |
|
| 97 | + } else { |
|
| 98 | 98 | $queryBuilder->field('permissions.view')->equals($this->user->id); |
| 99 | 99 | } |
| 100 | 100 | if ( |