Completed
Pull Request — master (#439)
by Juliette
01:33
created
library/Requests/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 	 *
233 233
 	 * @param array $request Request data (same form as {@see request_multiple})
234 234
 	 * @param boolean $merge_options Should we merge options as well?
235
-	 * @return array Request data
235
+	 * @return string Request data
236 236
 	 */
237 237
 	protected function merge_request($request, $merge_options = true) {
238 238
 		if ($this->url !== null) {
Please login to merge, or discard this patch.
library/Requests/IRI.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
 	 *
251 251
 	 * Returns false if $base is not absolute, otherwise an IRI.
252 252
 	 *
253
-	 * @param Requests_IRI|string $base (Absolute) Base IRI
253
+	 * @param string $base (Absolute) Base IRI
254 254
 	 * @param Requests_IRI|string $relative Relative IRI
255 255
 	 * @return Requests_IRI|false
256 256
 	 */
@@ -985,6 +985,7 @@  discard block
 block discarded – undo
985 985
 	 * Convert an IRI to a URI (or parts thereof)
986 986
 	 *
987 987
 	 * @param string|bool IRI to convert (or false from {@see get_iri})
988
+	 * @param false|string $string
988 989
 	 * @return string|false URI if IRI is valid, false otherwise.
989 990
 	 */
990 991
 	protected function to_uri($string) {
Please login to merge, or discard this patch.
library/Requests/IDNAEncoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
 	 * @param int $delta
354 354
 	 * @param int $numpoints
355 355
 	 * @param bool $firsttime
356
-	 * @return int New bias
356
+	 * @return double New bias
357 357
 	 *
358 358
 	 * function adapt(delta,numpoints,firsttime):
359 359
 	 */
Please login to merge, or discard this patch.
library/Requests/Cookie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 			'persistent'  => false,
75 75
 			'host-only'   => true,
76 76
 		);
77
-		$this->flags      = array_merge($default_flags, $flags);
77
+		$this->flags = array_merge($default_flags, $flags);
78 78
 
79 79
 		$this->reference_time = time();
80 80
 		if ($reference_time !== null) {
Please login to merge, or discard this patch.
library/Requests/Transport/fsockopen.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 				'verify_peer'       => true,
79 79
 				'capture_peer_cert' => true,
80 80
 			);
81
-			$verifyname      = true;
81
+			$verifyname = true;
82 82
 
83 83
 			// SNI, if enabled (OpenSSL >=0.9.8j)
84 84
 			// phpcs:ignore PHPCompatibility.Constants.NewConstants.openssl_tlsext_server_nameFound
Please login to merge, or discard this patch.