aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/XMLRPCBoolParameter.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/XMLRPCBoolParameter.php')
-rw-r--r--engine/classes/XMLRPCBoolParameter.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/engine/classes/XMLRPCBoolParameter.php b/engine/classes/XMLRPCBoolParameter.php
index c2714ceff..3a1b00b88 100644
--- a/engine/classes/XMLRPCBoolParameter.php
+++ b/engine/classes/XMLRPCBoolParameter.php
@@ -1,20 +1,20 @@
-<?php
-/**
- * @class XMLRPCBoolParameter A boolean.
- * @author Curverider Ltd
- */
-class XMLRPCBoolParameter extends XMLRPCParameter
-{
- function __construct($value)
- {
- parent::__construct();
-
- $this->value = (bool)$value;
- }
-
- function __toString()
- {
- $code = ($this->value) ? "1" : "0";
- return "<value><boolean>{$code}</boolean></value>";
- }
+<?php
+/**
+ * @class XMLRPCBoolParameter A boolean.
+ * @author Curverider Ltd
+ */
+class XMLRPCBoolParameter extends XMLRPCParameter
+{
+ function __construct($value)
+ {
+ parent::__construct();
+
+ $this->value = (bool)$value;
+ }
+
+ function __toString()
+ {
+ $code = ($this->value) ? "1" : "0";
+ return "<value><boolean>{$code}</boolean></value>";
+ }
} \ No newline at end of file