summaryrefslogtreecommitdiff
path: root/demos/soap/protected/webservices
diff options
context:
space:
mode:
Diffstat (limited to 'demos/soap/protected/webservices')
-rw-r--r--demos/soap/protected/webservices/SimpleService.php11
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