@@ -38,7 +38,7 @@ |
||
| 38 | 38 | return $vCards; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - private function parseParameters(?string $parameters): array |
|
| 41 | + private function parseParameters(?string $parameters) : array |
|
| 42 | 42 | { |
| 43 | 43 | if ($parameters === null) { |
| 44 | 44 | return []; |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | return $this->parameters; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - return array_filter($this->parameters, function (PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) { |
|
| 82 | + return array_filter($this->parameters, function(PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) { |
|
| 83 | 83 | return $parameter instanceof $filterByPropertyParameterClass; |
| 84 | 84 | }); |
| 85 | 85 | } |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | return $this->properties; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | - return array_filter($this->properties, function (PropertyInterface $property) use ($filterByPropertyClass) { |
|
| 93 | + return array_filter($this->properties, function(PropertyInterface $property) use ($filterByPropertyClass) { |
|
| 94 | 94 | return $property instanceof $filterByPropertyClass; |
| 95 | 95 | }); |
| 96 | 96 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $string = $this->address->getNode(); |
| 22 | 22 | $string .= ';TYPE=' . $this->address->getType()->__toString(); |
| 23 | - $string .=':' . $this->escape( |
|
| 23 | + $string .= ':' . $this->escape( |
|
| 24 | 24 | $this->address->getPostOfficeBox() |
| 25 | 25 | . ';' . $this->address->getExtendedAddress() |
| 26 | 26 | . ';' . $this->address->getStreetAddress() |