@@ -434,7 +434,7 @@ public function getCookies()
434434 * Get the cookie Id (name+domain+path)
435435 *
436436 * @param Header\SetCookie|Header\Cookie $cookie
437- * @return string|boolean
437+ * @return string|bool
438438 */
439439 protected function getCookieId ($ cookie )
440440 {
@@ -452,8 +452,8 @@ protected function getCookieId($cookie)
452452 * @param string $expire
453453 * @param string $path
454454 * @param string $domain
455- * @param boolean $secure
456- * @param boolean $httponly
455+ * @param bool $secure
456+ * @param bool $httponly
457457 * @param string $maxAge
458458 * @param string $version
459459 * @throws Exception\InvalidArgumentException
@@ -533,7 +533,7 @@ public function setHeaders($headers)
533533 * Check if exists the header type specified
534534 *
535535 * @param string $name
536- * @return boolean
536+ * @return bool
537537 */
538538 public function hasHeader ($ name )
539539 {
@@ -550,7 +550,7 @@ public function hasHeader($name)
550550 * Get the header value of the request
551551 *
552552 * @param string $name
553- * @return string|boolean
553+ * @return string|bool
554554 */
555555 public function getHeader ($ name )
556556 {
@@ -567,7 +567,7 @@ public function getHeader($name)
567567 /**
568568 * Set streaming for received data
569569 *
570- * @param string|boolean $streamfile Stream file, true for temp file, false/null for no streaming
570+ * @param string|bool $streamfile Stream file, true for temp file, false/null for no streaming
571571 * @return \Zend\Http\Client
572572 */
573573 public function setStream ($ streamfile = true )
@@ -578,7 +578,7 @@ public function setStream($streamfile = true)
578578
579579 /**
580580 * Get status of streaming for received data
581- * @return boolean |string
581+ * @return bool |string
582582 */
583583 public function getStream ()
584584 {
@@ -659,7 +659,7 @@ public function setAuth($user, $password, $type = self::AUTH_BASIC)
659659 * @param array $digest
660660 * @param null|string $entityBody
661661 * @throws Exception\InvalidArgumentException
662- * @return string|boolean
662+ * @return string|bool
663663 */
664664 protected function calcAuthDigest ($ user , $ password , $ type = self ::AUTH_BASIC , $ digest = array (), $ entityBody = null )
665665 {
@@ -963,7 +963,7 @@ public function setFileUpload($filename, $formname, $data = null, $ctype = null)
963963 * Remove a file to upload
964964 *
965965 * @param string $filename
966- * @return boolean
966+ * @return bool
967967 */
968968 public function removeFileUpload ($ filename )
969969 {
@@ -981,7 +981,7 @@ public function removeFileUpload($filename)
981981 * @param string $domain
982982 * @param string $path
983983 * @param boolean $secure
984- * @return Header\Cookie|boolean
984+ * @return Header\Cookie|bool
985985 */
986986 protected function prepareCookies ($ domain , $ path , $ secure )
987987 {
@@ -1275,7 +1275,7 @@ protected function flattenParametersArray($parray, $prefix = null)
12751275 *
12761276 * @param Http $uri
12771277 * @param string $method
1278- * @param boolean $secure
1278+ * @param bool $secure
12791279 * @param array $headers
12801280 * @param string $body
12811281 * @return string the raw response
0 commit comments