Completed
Pull Request — master (#32)
by Tomas
03:18
created
examples/Clients/InitCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'));
Please login to merge, or discard this patch.
examples/document_literal_wrapped/ObjectExampleSoapServer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
examples/document_literal_wrapped/WrapperExampleSoapServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
examples/return_complextypes/WrapperExampleSoapServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @param string $name
85 85
      * @param string $age
86 86
      * @param string $payment
87
-     * @return wrapper $userReturn @className=User
87
+     * @return User $userReturn @className=User
88 88
      */
89 89
     public function getUser($name, $age, $payment)
90 90
     {
Please login to merge, or discard this patch.
examples/rpc_encoded/ObjectExampleSoapServer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @WebMethod
52 52
      * @param string $name
53 53
      * @param string $number
54
-     * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id
54
+     * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id
55 55
      */
56 56
     public function getAgentWithId($name, $number)
57 57
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * @WebMethod
80
-     * @return object[] $companies @string=$name @int=$id
80
+     * @return stdClass[] $companies @string=$name @int=$id
81 81
      */
82 82
     public function getCompanies()
83 83
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * @WebMethod
96
-     * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id
96
+     * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id
97 97
      */
98 98
     public function getListOfAgentsWithId()
99 99
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
     /**
126 126
      * @WebMethod
127
-     * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment
127
+     * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment
128 128
      */
129 129
     public function getAgentsWithPayment()
130 130
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
     /**
144 144
      * @WebMethod
145
-     * @return object[] $employeesList @(wrapper[] $agents @className=Agent)
145
+     * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent)
146 146
      */
147 147
     public function getEmployeesWithAgents()
148 148
     {
Please login to merge, or discard this patch.
examples/rpc_encoded/WrapperExampleSoapServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      * @param string $name
70 70
      * @param string $age
71 71
      * @param string $payment
72
-     * @return wrapper $userReturn @className=User
72
+     * @return User $userReturn @className=User
73 73
      */
74 74
     public function getUser($name, $age, $payment)
75 75
     {
Please login to merge, or discard this patch.
examples/rpc_literal/ObjectExampleSoapServer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
examples/rpc_literal/WrapperExampleSoapServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/WSDL/XML/Styles/Style.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.