@@ -201,7 +201,7 @@ |
||
201 | 201 | |
202 | 202 | // Boolean |
203 | 203 | case 5: |
204 | - $parsed[$i] = (bool)$buffer->readInt8Signed(); |
|
204 | + $parsed[$i] = (bool) $buffer->readInt8Signed(); |
|
205 | 205 | break; |
206 | 206 | |
207 | 207 | // 8-bit int |
@@ -129,11 +129,11 @@ |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | // Add the result |
132 | - $result->add($key, (string)$value); |
|
132 | + $result->add($key, (string) $value); |
|
133 | 133 | } |
134 | 134 | } |
135 | 135 | |
136 | - $result->add("motd", (string)$xmlDoc->motd); |
|
136 | + $result->add("motd", (string) $xmlDoc->motd); |
|
137 | 137 | |
138 | 138 | unset($xmlDoc, $xmlDoc); |
139 | 139 |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * |
107 | 107 | * @param string $string |
108 | 108 | */ |
109 | - protected function stripSource(&$string) |
|
109 | + protected function stripSource(&$string) |
|
110 | 110 | { |
111 | 111 | $string = strip_tags($string); |
112 | 112 | } |