@@ -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 | { |
@@ -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 | { |
@@ -39,6 +39,9 @@ discard block |
||
39 | 39 | { |
40 | 40 | private $_obj = null; |
41 | 41 | |
42 | + /** |
|
43 | + * @param \Mocks\MockClass $obj |
|
44 | + */ |
|
42 | 45 | public function __construct($obj) |
43 | 46 | { |
44 | 47 | $this->_obj = $obj; |
@@ -68,6 +71,9 @@ discard block |
||
68 | 71 | return $return; |
69 | 72 | } |
70 | 73 | |
74 | + /** |
|
75 | + * @param Parser\ParameterParser[] $parameters |
|
76 | + */ |
|
71 | 77 | private function _parseArgs($args, $parameters) |
72 | 78 | { |
73 | 79 | $args = Arrays::getValue($args, 0, new stdClass()); |