Skip to content
This repository
Browse code

Fixed typos

  • Loading branch information...
commit 2cf3e4a2e401156f059cdbfc7eb1771437c342cf 1 parent b847980
Pascal Borreli pborreli authored
2  docs/why-requests.md
Source Rendered
@@ -20,7 +20,7 @@ cURL
20 20 horrible functions such as `curl_setopt()`. Combined with that, it uses 229
21 21 global constants, polluting the global namespace horribly.
22 22
23   - Requests, on the other hand, exposes only a handleful of classes to the
  23 + Requests, on the other hand, exposes only a handful of classes to the
24 24 global namespace.
25 25
26 26
2  library/Requests.php
@@ -347,7 +347,7 @@ public static function request($url, $headers = array(), $data = array(), $type
347 347 *
348 348 * - `complete`: A callback for when a request is complete. Takes two
349 349 * parameters, a Requests_Response/Requests_Exception reference, and the
350   - * ID from the request array (Note: this can also be overriden on a
  350 + * ID from the request array (Note: this can also be overridden on a
351 351 * per-request basis, although that's a little silly)
352 352 * (callback)
353 353 *
2  library/Requests/IDNAEncoder.php
@@ -54,7 +54,7 @@ public static function encode($string) {
54 54 * @throws Requests_Exception Provided string longer than 64 ASCII characters (`idna.provided_too_long`)
55 55 * @throws Requests_Exception Prepared string longer than 64 ASCII characters (`idna.prepared_too_long`)
56 56 * @throws Requests_Exception Provided string already begins with xn-- (`idna.provided_is_prefixed`)
57   - * @throws Requests_Exception Encded string longer than 64 ASCII characters (`idna.encoded_too_long`)
  57 + * @throws Requests_Exception Encoded string longer than 64 ASCII characters (`idna.encoded_too_long`)
58 58 *
59 59 * @param string $string ASCII or UTF-8 string (max length 64 characters)
60 60 * @return string ASCII string
4 library/Requests/IPv6.php
@@ -20,7 +20,7 @@ class Requests_IPv6
20 20 /**
21 21 * Uncompresses an IPv6 address
22 22 *
23   - * RFC 4291 allows you to compress concecutive zero pieces in an address to
  23 + * RFC 4291 allows you to compress consecutive zero pieces in an address to
24 24 * '::'. This method expects a valid IPv6 address and expands the '::' to
25 25 * the required number of zero pieces.
26 26 *
@@ -92,7 +92,7 @@ public static function uncompress($ip)
92 92 /**
93 93 * Compresses an IPv6 address
94 94 *
95   - * RFC 4291 allows you to compress concecutive zero pieces in an address to
  95 + * RFC 4291 allows you to compress consecutive zero pieces in an address to
96 96 * '::'. This method expects a valid IPv6 address and compresses consecutive
97 97 * zero pieces to '::'.
98 98 *
2  library/Requests/Response/Headers.php
@@ -75,7 +75,7 @@ public function offsetUnset($key) {
75 75 }
76 76
77 77 /**
78   - * Get an interator for the data
  78 + * Get an iterator for the data
79 79 *
80 80 * @return ArrayIterator
81 81 */
2  library/Requests/Transport/cURL.php
@@ -42,7 +42,7 @@ class Requests_Transport_cURL implements Requests_Transport {
42 42 protected $fp;
43 43
44 44 /**
45   - * Have we finished the heades yet?
  45 + * Have we finished the headers yet?
46 46 *
47 47 * @var boolean
48 48 */

0 comments on commit 2cf3e4a

Please sign in to comment.
Something went wrong with that request. Please try again.