@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | const FULL = 'full'; |
| 42 | 42 | const LONG = 'long'; |
| 43 | - const MEDIUM= 'medium'; |
|
| 43 | + const MEDIUM = 'medium'; |
|
| 44 | 44 | const SHORT = 'short'; |
| 45 | 45 | const NONE = 'none'; |
| 46 | 46 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function __invoke($gender) |
| 24 | 24 | { |
| 25 | - $return=""; |
|
| 25 | + $return = ""; |
|
| 26 | 26 | switch ($gender) { |
| 27 | 27 | case "male": |
| 28 | 28 | $return = "Mr."; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function setName($name) |
| 35 | 35 | { |
| 36 | - $this->name=$name; |
|
| 36 | + $this->name = $name; |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function setLevel($level) |
| 53 | 53 | { |
| 54 | - $this->level=$level; |
|
| 54 | + $this->level = $level; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | public function setCurrentIndicator($currentIndicator) |
| 80 | 80 | { |
| 81 | - $this->currentIndicator=$currentIndicator; |
|
| 81 | + $this->currentIndicator = $currentIndicator; |
|
| 82 | 82 | return $this; |
| 83 | 83 | } |
| 84 | 84 | |
@@ -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 |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * |
| 199 | 199 | * @return UserInterface $user |
| 200 | 200 | */ |
| 201 | - public function getUser() ; |
|
| 201 | + public function getUser(); |
|
| 202 | 202 | |
| 203 | 203 | /** |
| 204 | 204 | * Gets the link to the application form |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | ) |
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | - $data['previewLink'] = $viewLink; |
|
| 50 | + $data['previewLink'] = $viewLink; |
|
| 51 | 51 | return $data; |
| 52 | 52 | } |
| 53 | 53 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * |
| 82 | 82 | * @var int $publishDuration |
| 83 | 83 | */ |
| 84 | - protected $publishDuration=30; |
|
| 84 | + protected $publishDuration = 30; |
|
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * Category for this channel |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | */ |
| 141 | 141 | public function setKey($key) |
| 142 | 142 | { |
| 143 | - $this->key=$key; |
|
| 143 | + $this->key = $key; |
|
| 144 | 144 | return $this; |
| 145 | 145 | } |
| 146 | 146 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | public function setExternalkey($key) |
| 164 | 164 | { |
| 165 | - $this->externalkey=$key; |
|
| 165 | + $this->externalkey = $key; |
|
| 166 | 166 | return $this; |
| 167 | 167 | } |
| 168 | 168 | |