diff options
author | xue <> | 2007-01-02 01:06:20 +0000 |
---|---|---|
committer | xue <> | 2007-01-02 01:06:20 +0000 |
commit | f7c5eb1d28973e7380cc532c6347723b84ab19a5 (patch) | |
tree | c6aa733eb0c3196dbbbb7bf9fd5990e5a732106e /demos/soap/protected/webservices/SimpleService.php | |
parent | e944138b52b1eaffa669a322de5802840cde9387 (diff) |
Fixed SOAP demo.
Diffstat (limited to 'demos/soap/protected/webservices/SimpleService.php')
-rw-r--r-- | demos/soap/protected/webservices/SimpleService.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/demos/soap/protected/webservices/SimpleService.php b/demos/soap/protected/webservices/SimpleService.php index 9aecbfad..ca082152 100644 --- a/demos/soap/protected/webservices/SimpleService.php +++ b/demos/soap/protected/webservices/SimpleService.php @@ -1,8 +1,7 @@ <?php + class SimpleService { - private $errors = array(); - /** * Highlights a string as php code * @param string $input The php code to highlight @@ -13,7 +12,7 @@ class SimpleService { return highlight_string($input, true); } - + /** * Simply add two operands * @param int $a @@ -21,8 +20,10 @@ class SimpleService * @return int The result * @soapmethod */ - public function add($a, $b) { - return $a + $b; + public function add($a, $b) + { + return $a + $b; } } + ?>
\ No newline at end of file |