Completed
Push — master ( f3766a...612ab5 )
by Auke
05:30 queued 59s
created
src/http.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * Send a HTTP request with a specific method, GET, POST, etc.
23
-     * @param null  $method The method to use, GET, POST, etc.
23
+     * @param string  $method The method to use, GET, POST, etc.
24 24
      * @param null  $url    The URL to request
25 25
      * @param null  $query  The query string
26 26
      * @param array $options    Any of the HTTP stream context options, e.g. extra headers.
Please login to merge, or discard this patch.
src/url/Url.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      *	@param string $url The URL to parse, the query part will remain a string.
36 36
      *  @param QueryInterface queryObject Optional. An object that parses the query string.
37
+     * @param Query $queryObject
37 38
      */
38 39
     public function __construct($url, $queryObject = null)
39 40
     {
@@ -116,7 +117,7 @@  discard block
 block discarded – undo
116 117
 
117 118
     /**
118 119
      * @param $components
119
-     * @param $validComponents
120
+     * @param string[] $validComponents
120 121
      */
121 122
     private function importUrlComponents($components, $validComponents)
122 123
     {
Please login to merge, or discard this patch.
src/http/ClientStream.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Send a HTTP request and return the response
50
-     * @param null  $method The method to use, GET, POST, etc.
51
-     * @param null  $url    The URL to request
50
+     * @param null|string  $url    The URL to request
52 51
      * @param null  $request  The query string
53 52
      * @param array $options Any of the HTTP stream context options, e.g. extra headers.
54 53
      * @return string
Please login to merge, or discard this patch.