Completed
Push — master ( fdce7b...b9a5ca )
by Auke
01:19
created
src/http/headers.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@  discard block
 block discarded – undo
167 167
         return $headers;
168 168
     }
169 169
 
170
+    /**
171
+     * @param boolean $private
172
+     */
170 173
     private static function getCacheControlTime( $header, $private )
171 174
     {
172 175
         $result    = null;
@@ -227,7 +230,7 @@  discard block
 block discarded – undo
227 230
     /**
228 231
      * Return the last value sent for a specific header, uses the output of parse().
229 232
      * @param (mixed) $headers An array with multiple header strings or a single string.
230
-     * @return array|mixed
233
+     * @return string
231 234
      */
232 235
     private static function getLastHeader($headers) {
233 236
         if ( is_array($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
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @param string $url The URL to parse, the query part will remain a string.
37 37
      * @param QueryInterface queryObject Optional. An object that parses the query string.
38
+     * @param Query $queryObject
38 39
      */
39 40
     public function __construct($url, $queryObject = null)
40 41
     {
@@ -121,7 +122,7 @@  discard block
 block discarded – undo
121 122
 
122 123
     /**
123 124
      * @param $components
124
-     * @param $validComponents
125
+     * @param string[] $validComponents
125 126
      */
126 127
     private function importUrlComponents($components, $validComponents)
127 128
     {
Please login to merge, or discard this patch.
src/http.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * Send a HTTP request with a specific method, GET, POST, etc.
34
-     * @param null  $method The method to use, GET, POST, etc.
34
+     * @param string  $method The method to use, GET, POST, etc.
35 35
      * @param null  $url    The URL to request
36 36
      * @param null  $query  The query string
37 37
      * @param array $options    Any of the HTTP stream context options, e.g. extra headers.
Please login to merge, or discard this patch.