diff options
Diffstat (limited to 'engine/classes/XMLRPCDoubleParameter.php')
-rw-r--r-- | engine/classes/XMLRPCDoubleParameter.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/engine/classes/XMLRPCDoubleParameter.php b/engine/classes/XMLRPCDoubleParameter.php index 64cbdff91..1f311b0e9 100644 --- a/engine/classes/XMLRPCDoubleParameter.php +++ b/engine/classes/XMLRPCDoubleParameter.php @@ -1,19 +1,19 @@ -<?php
-/**
- * @class XMLRPCDoubleParameter A double precision signed floating point number.
- * @author Curverider Ltd
- */
-class XMLRPCDoubleParameter extends XMLRPCParameter
-{
- function __construct($value)
- {
- parent::__construct();
-
- $this->value = (float)$value;
- }
-
- function __toString()
- {
- return "<value><double>{$this->value}</double></value>";
- }
-}
+<?php +/** + * @class XMLRPCDoubleParameter A double precision signed floating point number. + * @author Curverider Ltd + */ +class XMLRPCDoubleParameter extends XMLRPCParameter +{ + function __construct($value) + { + parent::__construct(); + + $this->value = (float)$value; + } + + function __toString() + { + return "<value><double>{$this->value}</double></value>"; + } +} |