@@ -462,7 +462,7 @@ public function getCookies()
462462 * Get the cookie Id (name+domain+path)
463463 *
464464 * @param Header\SetCookie|Header\Cookie $cookie
465- * @return string|boolean
465+ * @return string|bool
466466 */
467467 protected function getCookieId ($ cookie )
468468 {
@@ -480,8 +480,8 @@ protected function getCookieId($cookie)
480480 * @param string $expire
481481 * @param string $path
482482 * @param string $domain
483- * @param boolean $secure
484- * @param boolean $httponly
483+ * @param bool $secure
484+ * @param bool $httponly
485485 * @param string $maxAge
486486 * @param string $version
487487 * @throws Exception\InvalidArgumentException
@@ -561,7 +561,7 @@ public function setHeaders($headers)
561561 * Check if exists the header type specified
562562 *
563563 * @param string $name
564- * @return boolean
564+ * @return bool
565565 */
566566 public function hasHeader ($ name )
567567 {
@@ -578,7 +578,7 @@ public function hasHeader($name)
578578 * Get the header value of the request
579579 *
580580 * @param string $name
581- * @return string|boolean
581+ * @return string|bool
582582 */
583583 public function getHeader ($ name )
584584 {
@@ -595,7 +595,7 @@ public function getHeader($name)
595595 /**
596596 * Set streaming for received data
597597 *
598- * @param string|boolean $streamfile Stream file, true for temp file, false/null for no streaming
598+ * @param string|bool $streamfile Stream file, true for temp file, false/null for no streaming
599599 * @return \Zend\Http\Client
600600 */
601601 public function setStream ($ streamfile = true )
@@ -606,7 +606,7 @@ public function setStream($streamfile = true)
606606
607607 /**
608608 * Get status of streaming for received data
609- * @return boolean |string
609+ * @return bool |string
610610 */
611611 public function getStream ()
612612 {
@@ -687,7 +687,7 @@ public function setAuth($user, $password, $type = self::AUTH_BASIC)
687687 * @param array $digest
688688 * @param null|string $entityBody
689689 * @throws Exception\InvalidArgumentException
690- * @return string|boolean
690+ * @return string|bool
691691 */
692692 protected function calcAuthDigest ($ user , $ password , $ type = self ::AUTH_BASIC , $ digest = array (), $ entityBody = null )
693693 {
@@ -991,7 +991,7 @@ public function setFileUpload($filename, $formname, $data = null, $ctype = null)
991991 * Remove a file to upload
992992 *
993993 * @param string $filename
994- * @return boolean
994+ * @return bool
995995 */
996996 public function removeFileUpload ($ filename )
997997 {
@@ -1009,7 +1009,7 @@ public function removeFileUpload($filename)
10091009 * @param string $domain
10101010 * @param string $path
10111011 * @param boolean $secure
1012- * @return Header\Cookie|boolean
1012+ * @return Header\Cookie|bool
10131013 */
10141014 protected function prepareCookies ($ domain , $ path , $ secure )
10151015 {
@@ -1303,7 +1303,7 @@ protected function flattenParametersArray($parray, $prefix = null)
13031303 *
13041304 * @param Http $uri
13051305 * @param string $method
1306- * @param boolean $secure
1306+ * @param bool $secure
13071307 * @param array $headers
13081308 * @param string $body
13091309 * @return string the raw response
0 commit comments