Completed
Pull Request — master (#18)
by Auke
02:37
created
src/http/ClientStream.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Send a HTTP request and return the response
50
-     * @param string       $method  The method to use, GET, POST, etc.
51 50
      * @param string       $url     The URL to request
52 51
      * @param array|string $request The query string
53 52
      * @param array        $options Any of the HTTP stream context options, e.g. extra headers.
Please login to merge, or discard this patch.
src/http/headers.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Return the last value sent for a specific header, uses the output of parse().
66 66
      * @param (mixed) $headers An array with multiple header strings or a single string.
67
-     * @return array|mixed
67
+     * @return string
68 68
      */
69 69
     private static function getLastHeader($headers) {
70 70
         if ( is_array($headers) ) {
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         return $result;
113 113
     }
114 114
 
115
+    /**
116
+     * @param boolean $private
117
+     */
115 118
     private static function getCacheControlTime( $header, $private )
116 119
     {
117 120
         $result = null;
Please login to merge, or discard this patch.