@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | * Sets the Day of the date of birth. |
| 24 | 24 | * |
| 25 | 25 | * @param string $birthDay |
| 26 | + * @return Info |
|
| 26 | 27 | */ |
| 27 | 28 | public function setBirthDay($birthDay); |
| 28 | 29 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | * Sets the month of the date of birth. |
| 38 | 39 | * |
| 39 | 40 | * @param string $birthMonth |
| 41 | + * @return Info |
|
| 40 | 42 | */ |
| 41 | 43 | public function setBirthMonth($birthMonth); |
| 42 | 44 | |
@@ -51,6 +53,7 @@ discard block |
||
| 51 | 53 | * Sets the year of the date of birth. |
| 52 | 54 | * |
| 53 | 55 | * @param string $email |
| 56 | + * @return Info |
|
| 54 | 57 | */ |
| 55 | 58 | public function setBirthYear($email); |
| 56 | 59 | |
@@ -65,6 +68,7 @@ discard block |
||
| 65 | 68 | * Sets the email. |
| 66 | 69 | * |
| 67 | 70 | * @param string $email |
| 71 | + * @return Info |
|
| 68 | 72 | */ |
| 69 | 73 | public function setEmail($email); |
| 70 | 74 | |
@@ -90,6 +94,7 @@ discard block |
||
| 90 | 94 | * Sets the first name |
| 91 | 95 | * |
| 92 | 96 | * @param string $name |
| 97 | + * @return Info |
|
| 93 | 98 | */ |
| 94 | 99 | public function setFirstName($name); |
| 95 | 100 | |
@@ -104,6 +109,7 @@ discard block |
||
| 104 | 109 | * Sets the gender |
| 105 | 110 | * |
| 106 | 111 | * @param string $gender |
| 112 | + * @return Info |
|
| 107 | 113 | */ |
| 108 | 114 | public function setGender($gender); |
| 109 | 115 | |
@@ -119,6 +125,7 @@ discard block |
||
| 119 | 125 | * Sets the last name |
| 120 | 126 | * |
| 121 | 127 | * @param string $name |
| 128 | + * @return Info |
|
| 122 | 129 | */ |
| 123 | 130 | public function setLastName($name); |
| 124 | 131 | |
@@ -133,6 +140,7 @@ discard block |
||
| 133 | 140 | * Sets the profile Image of an user |
| 134 | 141 | * |
| 135 | 142 | * @param EntityInterface $image |
| 143 | + * @return Info |
|
| 136 | 144 | */ |
| 137 | 145 | public function setImage(EntityInterface $image = null); |
| 138 | 146 | |
@@ -147,6 +155,7 @@ discard block |
||
| 147 | 155 | * Sets the users street |
| 148 | 156 | * |
| 149 | 157 | * @param string $name |
| 158 | + * @return Info |
|
| 150 | 159 | */ |
| 151 | 160 | public function setStreet($name); |
| 152 | 161 | |
@@ -161,6 +170,7 @@ discard block |
||
| 161 | 170 | * Sets the users house number |
| 162 | 171 | * |
| 163 | 172 | * @param string $houseNumber |
| 173 | + * @return Info |
|
| 164 | 174 | */ |
| 165 | 175 | public function setHouseNumber($houseNumber); |
| 166 | 176 | |
@@ -186,6 +196,7 @@ discard block |
||
| 186 | 196 | * |
| 187 | 197 | * @param string $postalCode |
| 188 | 198 | * @since 0.20 |
| 199 | + * @return Info |
|
| 189 | 200 | */ |
| 190 | 201 | public function setPostalCode($postalCode); |
| 191 | 202 | |
@@ -202,6 +213,7 @@ discard block |
||
| 202 | 213 | * |
| 203 | 214 | * @param string $phone |
| 204 | 215 | * @since 0.20 |
| 216 | + * @return Info |
|
| 205 | 217 | */ |
| 206 | 218 | public function setPhone($phone); |
| 207 | 219 | |
@@ -218,6 +230,7 @@ discard block |
||
| 218 | 230 | * |
| 219 | 231 | * @param string $city |
| 220 | 232 | * @since 0.20 |
| 233 | + * @return Info |
|
| 221 | 234 | */ |
| 222 | 235 | public function setCity($city); |
| 223 | 236 | |
@@ -234,6 +247,7 @@ discard block |
||
| 234 | 247 | * |
| 235 | 248 | * @param string $country |
| 236 | 249 | * @since 0.30 |
| 250 | + * @return Info |
|
| 237 | 251 | */ |
| 238 | 252 | public function setCountry($country); |
| 239 | 253 | |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | */ |
| 139 | 139 | public function setBirthDay($birthDay) |
| 140 | 140 | { |
| 141 | - $this->birthDay=$birthDay; |
|
| 141 | + $this->birthDay = $birthDay; |
|
| 142 | 142 | return $this; |
| 143 | 143 | } |
| 144 | 144 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | */ |
| 160 | 160 | public function setBirthMonth($birthMonth) |
| 161 | 161 | { |
| 162 | - $this->birthMonth=$birthMonth; |
|
| 162 | + $this->birthMonth = $birthMonth; |
|
| 163 | 163 | return $this; |
| 164 | 164 | } |
| 165 | 165 | |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | */ |
| 181 | 181 | public function setBirthYear($birthYear) |
| 182 | 182 | { |
| 183 | - $this->birthYear=$birthYear; |
|
| 183 | + $this->birthYear = $birthYear; |
|
| 184 | 184 | return $this; |
| 185 | 185 | } |
| 186 | 186 | |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | */ |
| 202 | 202 | public function setEmail($email) |
| 203 | 203 | { |
| 204 | - $this->email = trim((String)$email); |
|
| 204 | + $this->email = trim((String) $email); |
|
| 205 | 205 | return $this; |
| 206 | 206 | } |
| 207 | 207 | |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | */ |
| 245 | 245 | public function setFirstName($firstName) |
| 246 | 246 | { |
| 247 | - $this->firstName = trim((String)$firstName); |
|
| 247 | + $this->firstName = trim((String) $firstName); |
|
| 248 | 248 | return $this; |
| 249 | 249 | } |
| 250 | 250 | |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | */ |
| 267 | 267 | public function setGender($gender) |
| 268 | 268 | { |
| 269 | - $this->gender = trim((String)$gender); |
|
| 269 | + $this->gender = trim((String) $gender); |
|
| 270 | 270 | return $this; |
| 271 | 271 | } |
| 272 | 272 | |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | */ |
| 288 | 288 | public function setHouseNumber($houseNumber) |
| 289 | 289 | { |
| 290 | - $this->houseNumber=$houseNumber; |
|
| 290 | + $this->houseNumber = $houseNumber; |
|
| 291 | 291 | return $this; |
| 292 | 292 | } |
| 293 | 293 | |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | if (!$this->lastName) { |
| 333 | 333 | return $emailIfEmpty ? $this->email : ''; |
| 334 | 334 | } |
| 335 | - return ($this->firstName ? $this->firstName . ' ' : '') . $this->lastName; |
|
| 335 | + return ($this->firstName ? $this->firstName.' ' : '').$this->lastName; |
|
| 336 | 336 | } |
| 337 | 337 | |
| 338 | 338 | /** |
@@ -426,7 +426,7 @@ discard block |
||
| 426 | 426 | */ |
| 427 | 427 | public function setStreet($street) |
| 428 | 428 | { |
| 429 | - $this->street=$street; |
|
| 429 | + $this->street = $street; |
|
| 430 | 430 | return $this; |
| 431 | 431 | } |
| 432 | 432 | |
@@ -447,7 +447,7 @@ discard block |
||
| 447 | 447 | */ |
| 448 | 448 | public function setCountry($country) |
| 449 | 449 | { |
| 450 | - $this->country=$country; |
|
| 450 | + $this->country = $country; |
|
| 451 | 451 | return $this; |
| 452 | 452 | } |
| 453 | 453 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | */ |
| 87 | 87 | public function setHouseNumber($houseNumber = "") |
| 88 | 88 | { |
| 89 | - $this->houseNumber=$houseNumber; |
|
| 89 | + $this->houseNumber = $houseNumber; |
|
| 90 | 90 | return $this; |
| 91 | 91 | } |
| 92 | 92 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | public function setStreet($street = "") |
| 154 | 154 | { |
| 155 | - $this->street=$street; |
|
| 155 | + $this->street = $street; |
|
| 156 | 156 | return $this; |
| 157 | 157 | } |
| 158 | 158 | |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | */ |
| 175 | 175 | public function setCountry($country = "") |
| 176 | 176 | { |
| 177 | - $this->country=$country; |
|
| 177 | + $this->country = $country; |
|
| 178 | 178 | return $this; |
| 179 | 179 | } |
| 180 | 180 | |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | */ |
| 200 | 200 | public function setPhone($phone = "") |
| 201 | 201 | { |
| 202 | - $this->phone=$phone; |
|
| 202 | + $this->phone = $phone; |
|
| 203 | 203 | return $this; |
| 204 | 204 | } |
| 205 | 205 | |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | public function setFax($fax = "") |
| 224 | 224 | { |
| 225 | - $this->fax=$fax; |
|
| 225 | + $this->fax = $fax; |
|
| 226 | 226 | return $this; |
| 227 | 227 | } |
| 228 | 228 | |