Completed
Pull Request — master (#572)
by Frédéric
01:32
created
src/OAuth/Common/Http/Client/StreamClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
         return $response;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $method
81
+     */
79 82
     private function generateStreamContext($body, $headers, $method)
80 83
     {
81 84
         return stream_context_create(
Please login to merge, or discard this patch.
src/OAuth/Common/Storage/SymfonySession.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return Session
194
+     * @return SessionInterface
195 195
      */
196 196
     public function getSession()
197 197
     {
Please login to merge, or discard this patch.
src/OAuth/OAuth1/Service/Etsy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     /**
108 108
      * Set the scopes for permissions
109 109
      * @see https://www.etsy.com/developers/documentation/getting_started/oauth#section_permission_scopes
110
-     * @param array $scopes
110
+     * @param string[] $scopes
111 111
      *
112 112
      * @return $this
113 113
      */
Please login to merge, or discard this patch.
src/OAuth/OAuth1/Service/Twitter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @param string $authorizationEndpoint
58 57
      *
59 58
      * @throws Exception
60 59
      */
Please login to merge, or discard this patch.
src/OAuth/OAuth2/Service/Buffer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@
 block discarded – undo
96 96
         return $code;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $responseBody
101
+     */
99 102
     protected function parseRequestTokenResponse($responseBody)
100 103
     {
101 104
         parse_str($responseBody, $data);
Please login to merge, or discard this patch.
tests/Unit/OAuth1/Service/QuickBooksTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -153,6 +153,10 @@  discard block
 block discarded – undo
153 153
         );
154 154
     }
155 155
 
156
+    /**
157
+     * @param \PHPUnit\Framework\MockObject\MockObject $client
158
+     * @param \PHPUnit\Framework\MockObject\MockObject $storage
159
+     */
156 160
     protected function getQuickBooks(
157 161
         ?ClientInterface $client = null,
158 162
         ?TokenStorageInterface $storage = null
@@ -177,6 +181,9 @@  discard block
 block discarded – undo
177 181
         );
178 182
     }
179 183
 
184
+    /**
185
+     * @param string $response
186
+     */
180 187
     protected function getQuickBooksForRequestingAccessToken(
181 188
         TokenInterface $token,
182 189
         $response
Please login to merge, or discard this patch.
src/OAuth/Common/Storage/DoliStorage.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
     /**
69 69
      * @param DoliDB $db        Database object
70 70
      * @param Conf   $conf      Conf object
71
-     * @param string $userid    userid of user
71
+     * @param integer $userid    userid of user
72 72
      */
73 73
     public function __construct(DoliDB $db, $conf, $userid = 0)
74 74
     {
Please login to merge, or discard this patch.
src/OAuth/Common/Http/Client/CurlClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Additional `curl_setopt` parameters.
31 31
      *
32
-     * @param array $parameters
32
+     * @param string[] $parameters
33 33
      */
34 34
     public function setCurlParameters(array $parameters): void
35 35
     {
Please login to merge, or discard this patch.