@@ -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 |
@@ -16,16 +16,16 @@ |
||
16 | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | */ |
18 | 18 | namespace GameQ\Protocols; |
19 | - /** |
|
20 | - * Class Hurtworld |
|
21 | - * |
|
22 | - * Pre-cursor to the A2S (source) protocol system |
|
23 | - * |
|
24 | - * @author Nikolay Ipanyuk <[email protected]> |
|
25 | - * @author Austin Bischoff <[email protected]> |
|
26 | - * |
|
27 | - * @package GameQ\Protocols |
|
28 | - */ |
|
19 | + /** |
|
20 | + * Class Hurtworld |
|
21 | + * |
|
22 | + * Pre-cursor to the A2S (source) protocol system |
|
23 | + * |
|
24 | + * @author Nikolay Ipanyuk <[email protected]> |
|
25 | + * @author Austin Bischoff <[email protected]> |
|
26 | + * |
|
27 | + * @package GameQ\Protocols |
|
28 | + */ |
|
29 | 29 | class Hurtworld extends Source |
30 | 30 | { |
31 | 31 | /** |