Failed Conditions
Pull Request — master (#29)
by Helene
03:02
created
tests/MockOAuth2Server.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return HandlerStack
61
+     * @return MockHandler
62 62
      */
63 63
     public function getHandlerStack()
64 64
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param RequestInterface $request
70 70
      * @param array            $options
71 71
      *
72
-     * @return array
72
+     * @return Response
73 73
      */
74 74
     protected function getResult(RequestInterface $request, array $options)
75 75
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * @param RequestInterface $request
90 90
      * @param array            $options
91 91
      *
92
-     * @return array
92
+     * @return Response
93 93
      */
94 94
     protected function oauth2Token(RequestInterface $request, $options)
95 95
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @return array
117
+     * @return Response
118 118
      */
119 119
     protected function validTokenResponse()
120 120
     {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * @param array  $requestBody
138 138
      *
139
-     * @return array
139
+     * @return Response
140 140
      *   The response as expected by the MockHandler.
141 141
      */
142 142
     protected function grantTypePassword(array $requestBody)
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * @param array  $options
154 154
      *
155
-     * @return array
155
+     * @return Response
156 156
      *   The response as expected by the MockHandler.
157 157
      */
158 158
     protected function grantTypeClientCredentials(array $options)
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @param array  $requestBody
170 170
      *
171
-     * @return array
171
+     * @return Response
172 172
      */
173 173
     protected function grantTypeRefreshToken(array $requestBody)
174 174
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * @param array  $requestBody
184 184
      *
185
-     * @return array
185
+     * @return Response
186 186
      */
187 187
     protected function grantTypeJwtBearer(array $requestBody)
188 188
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * @param RequestInterface $request
198 198
      *
199
-     * @return array
199
+     * @return Response
200 200
      */
201 201
     protected function mockApiCall(RequestInterface $request)
202 202
     {
Please login to merge, or discard this patch.