@@ -24,6 +24,9 @@ discard block |
||
24 | 24 | ini_set("soap.wsdl_cache_enabled", 0); |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $method |
|
29 | + */ |
|
27 | 30 | protected function method($method, $requestParams, $response) |
28 | 31 | { |
29 | 32 | $this->separator(); |
@@ -76,6 +79,9 @@ discard block |
||
76 | 79 | }, $this->soapClient->__getFunctions()); |
77 | 80 | } |
78 | 81 | |
82 | + /** |
|
83 | + * @param string $name |
|
84 | + */ |
|
79 | 85 | protected function serviceInfo($name) |
80 | 86 | { |
81 | 87 | $style = new OutputFormatterStyle('red', 'green', array('bold')); |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @WebMethod |
53 | 53 | * @param string $name |
54 | 54 | * @param string $number |
55 | - * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
55 | + * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
56 | 56 | */ |
57 | 57 | public function getAgentWithId($name, $number) |
58 | 58 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @WebMethod |
82 | - * @return object[] $companies @string=$name @int=$id |
|
82 | + * @return stdClass[] $companies @string=$name @int=$id |
|
83 | 83 | */ |
84 | 84 | public function getCompanies() |
85 | 85 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * @WebMethod |
99 | - * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
99 | + * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
100 | 100 | */ |
101 | 101 | public function getListOfAgentsWithId() |
102 | 102 | { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | |
130 | 130 | /** |
131 | 131 | * @WebMethod |
132 | - * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
132 | + * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
133 | 133 | */ |
134 | 134 | public function getAgentsWithPayment() |
135 | 135 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | |
149 | 149 | /** |
150 | 150 | * @WebMethod |
151 | - * @return object[] $employeesList @(wrapper[] $agents @className=Agent) |
|
151 | + * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent) |
|
152 | 152 | */ |
153 | 153 | public function getEmployeesWithAgents() |
154 | 154 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | * @param string $name |
71 | 71 | * @param string $age |
72 | 72 | * @param string $payment |
73 | - * @return wrapper $userReturn @className=User |
|
73 | + * @return User $userReturn @className=User |
|
74 | 74 | */ |
75 | 75 | public function getUser($name, $age, $payment) |
76 | 76 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | use Ouzo\Utilities\Inflector; |
27 | 27 | use WSDL\Parser\MethodParser; |
28 | 28 | use WSDL\Types\Type; |
29 | -use WSDL\Utilities\Strings; |
|
30 | 29 | use WSDL\Utilities\TypeHelper; |
31 | 30 | |
32 | 31 | /** |
@@ -67,6 +67,9 @@ discard block |
||
67 | 67 | |
68 | 68 | public static $alreadyGeneratedComplexTypes = array(); |
69 | 69 | |
70 | + /** |
|
71 | + * @param string $namespace |
|
72 | + */ |
|
70 | 73 | public function __construct($name, $namespace, $location) |
71 | 74 | { |
72 | 75 | $this->_name = $this->extractClassName($name); |
@@ -91,6 +94,9 @@ discard block |
||
91 | 94 | return $reflectedClass->getShortName(); |
92 | 95 | } |
93 | 96 | |
97 | + /** |
|
98 | + * @param MethodParser[] $WSDLMethods |
|
99 | + */ |
|
94 | 100 | public function setWSDLMethods($WSDLMethods) |
95 | 101 | { |
96 | 102 | $this->_WSDLMethods = $WSDLMethods; |
@@ -159,6 +165,9 @@ discard block |
||
159 | 165 | return $this; |
160 | 166 | } |
161 | 167 | |
168 | + /** |
|
169 | + * @param \DOMElement $schemaElement |
|
170 | + */ |
|
162 | 171 | private function _typesParameters($parameters, $schemaElement) |
163 | 172 | { |
164 | 173 | foreach ($parameters as $parameter) { |
@@ -439,6 +448,9 @@ discard block |
||
439 | 448 | return $attribute; |
440 | 449 | } |
441 | 450 | |
451 | + /** |
|
452 | + * @param string $elementName |
|
453 | + */ |
|
442 | 454 | public function createElementWithAttributes($elementName, $attributes, $value = '') |
443 | 455 | { |
444 | 456 | $element = $this->_createElement($elementName, $value); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @WebMethod |
53 | 53 | * @param object $object1 @string=$name @int=$id |
54 | - * @return object $return @string=$new_name @int=$new_id |
|
54 | + * @return stdClass $return @string=$new_name @int=$new_id |
|
55 | 55 | */ |
56 | 56 | public function arrayTest($object1) |
57 | 57 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * @WebMethod |
76 | - * @return wrapper[] $mockUsers @className=\Mocks\MockUserWrapper |
|
76 | + * @return MockUserWrapper[] $mockUsers @className=\Mocks\MockUserWrapper |
|
77 | 77 | */ |
78 | 78 | public function arrayOfMockUser() |
79 | 79 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * @param string $name |
31 | 31 | * @param wrapper $customer @className=\Mocks\WrapperClass\Customer |
32 | 32 | * @param wrapper $purchase @className=\Mocks\WrapperClass\Purchase |
33 | - * @return wrapper $purchaseResult @className=\Mocks\WrapperClass\PurchaseResult |
|
33 | + * @return integer $purchaseResult @className=\Mocks\WrapperClass\PurchaseResult |
|
34 | 34 | */ |
35 | 35 | public function multipleWrappers($name, $customer, $purchase) |
36 | 36 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param object $object1 @string=name @int=id |
35 | - * @return object $return @string=new_name @int=new_id |
|
35 | + * @return stdClass $return @string=new_name @int=new_id |
|
36 | 36 | */ |
37 | 37 | public function arrayTest($object1) |
38 | 38 | { |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | */ |
52 | 52 | private $rawReturn; |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $doc |
|
56 | + */ |
|
54 | 57 | public function __construct($name, $doc) |
55 | 58 | { |
56 | 59 | $this->name = $name; |
@@ -68,7 +71,7 @@ discard block |
||
68 | 71 | } |
69 | 72 | |
70 | 73 | /** |
71 | - * @return Type[] |
|
74 | + * @return ParameterParser[] |
|
72 | 75 | */ |
73 | 76 | public function parameters() |
74 | 77 | { |