@@ -185,12 +185,12 @@ |
||
| 185 | 185 | { |
| 186 | 186 | return sprintf( |
| 187 | 187 | 'ContactPerson(%s, =%s, %s%s%s%s)', |
| 188 | - 'ContactType=' . $this->contactType, |
|
| 189 | - 'EmailAddressList=' . $this->emailAddressList, |
|
| 190 | - 'TelephoneNumberList=' . $this->telephoneNumberList, |
|
| 191 | - ($this->givenName ? ', GivenName=' . $this->givenName : ''), |
|
| 192 | - ($this->surname ? ', Surname=' . $this->surname : ''), |
|
| 193 | - ($this->company ? ', Company=' . $this->company : '') |
|
| 188 | + 'ContactType='.$this->contactType, |
|
| 189 | + 'EmailAddressList='.$this->emailAddressList, |
|
| 190 | + 'TelephoneNumberList='.$this->telephoneNumberList, |
|
| 191 | + ($this->givenName ? ', GivenName='.$this->givenName : ''), |
|
| 192 | + ($this->surname ? ', Surname='.$this->surname : ''), |
|
| 193 | + ($this->company ? ', Company='.$this->company : '') |
|
| 194 | 194 | ); |
| 195 | 195 | } |
| 196 | 196 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function __construct($type) |
| 33 | 33 | { |
| 34 | - $validMessage = 'one of "ContactType::' . implode(', ContactType::', self::$validTypes) . '"'; |
|
| 34 | + $validMessage = 'one of "ContactType::'.implode(', ContactType::', self::$validTypes).'"'; |
|
| 35 | 35 | Assertion::inArray($type, self::$validTypes, $validMessage); |
| 36 | 36 | |
| 37 | 37 | $this->contactType = $type; |