@@ -68,7 +68,7 @@ |
||
68 | 68 | * @param string $name |
69 | 69 | * @param string $age |
70 | 70 | * @param string $payment |
71 | - * @return wrapper $userReturn @className=User |
|
71 | + * @return User $userReturn @className=User |
|
72 | 72 | */ |
73 | 73 | public function getUser($name, $age, $payment) |
74 | 74 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * @WebMethod |
51 | 51 | * @param string $name |
52 | 52 | * @param string $number |
53 | - * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
53 | + * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
54 | 54 | */ |
55 | 55 | public function getAgentWithId($name, $number) |
56 | 56 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @WebMethod |
79 | - * @return object[] $companies @string=$name @int=$id |
|
79 | + * @return stdClass[] $companies @string=$name @int=$id |
|
80 | 80 | */ |
81 | 81 | public function getCompanies() |
82 | 82 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | |
93 | 93 | /** |
94 | 94 | * @WebMethod |
95 | - * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
95 | + * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
96 | 96 | */ |
97 | 97 | public function getListOfAgentsWithId() |
98 | 98 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * @WebMethod |
129 | - * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
129 | + * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
130 | 130 | */ |
131 | 131 | public function getAgentsWithPayment() |
132 | 132 | { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | |
146 | 146 | /** |
147 | 147 | * @WebMethod |
148 | - * @return object[] $employeesList @(wrapper[] $agents @className=Agent) |
|
148 | + * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent) |
|
149 | 149 | */ |
150 | 150 | public function getEmployeesWithAgents() |
151 | 151 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * @param string $name |
69 | 69 | * @param string $age |
70 | 70 | * @param string $payment |
71 | - * @return wrapper $userReturn @className=User |
|
71 | + * @return User $userReturn @className=User |
|
72 | 72 | */ |
73 | 73 | public function getUser($name, $age, $payment) |
74 | 74 | { |
@@ -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; |
@@ -65,6 +68,9 @@ discard block |
||
65 | 68 | return $obj; |
66 | 69 | } |
67 | 70 | |
71 | + /** |
|
72 | + * @param Parser\ParameterParser[] $parameters |
|
73 | + */ |
|
68 | 74 | private function _parseArgs($args, $parameters) |
69 | 75 | { |
70 | 76 | $args = Arrays::getValue($args, 0, new stdClass()); |
@@ -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 | { |