@@ -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; |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | Assertion::boolean($isRegexp); |
51 | 51 | |
52 | 52 | if ($isRegexp) { |
53 | - Assertion::validRegularExpression('#' . $scope . '#i', 'scope'); |
|
53 | + Assertion::validRegularExpression('#'.$scope.'#i', 'scope'); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | $this->scope = $scope; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | return strcasecmp($this->scope, $string) === 0; |
70 | 70 | } |
71 | 71 | |
72 | - $regexp = new RegularExpression('#' . $this->scope . '#i'); |
|
72 | + $regexp = new RegularExpression('#'.$this->scope.'#i'); |
|
73 | 73 | return $regexp->matches($string); |
74 | 74 | } |
75 | 75 |