@@ -40,7 +40,7 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | if (!$xml->hasAttribute('index')) { |
| 43 | - throw new \Exception('Missing index on ' . $xml->tagName); |
|
| 43 | + throw new \Exception('Missing index on '.$xml->tagName); |
|
| 44 | 44 | } |
| 45 | 45 | $this->setIndex(intval($xml->getAttribute('index'))); |
| 46 | 46 | |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | public function setAddress($address = null) |
| 153 | 153 | { |
| 154 | 154 | assert(is_string($address) || is_null($address)); |
| 155 | - if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4|FILTER_FLAG_IPV6)) { |
|
| 155 | + if (!is_null($address) && !filter_var($address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6)) { |
|
| 156 | 156 | throw new \InvalidArgumentException('Provided argument is not a valid IP address.'); |
| 157 | 157 | } |
| 158 | 158 | $this->Address = $address; |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | 200 | * Set the value of the Extensions-property |
| 201 | - * @param array $extensions |
|
| 201 | + * @param \SAML2\XML\Chunk[] $extensions |
|
| 202 | 202 | */ |
| 203 | 203 | public function setExtensions(array $extensions) |
| 204 | 204 | { |