@@ -517,7 +517,7 @@ |
||
517 | 517 | /** |
518 | 518 | * Get transport channel (curl channel or stream context) |
519 | 519 | * |
520 | - * @return mixed |
|
520 | + * @return resource |
|
521 | 521 | */ |
522 | 522 | final public function getChannel() { |
523 | 523 |
@@ -411,7 +411,7 @@ |
||
411 | 411 | */ |
412 | 412 | final public function setIgnoreErrors($ignore = true) { |
413 | 413 | |
414 | - $this->ignore_errors = (bool)$ignore; |
|
414 | + $this->ignore_errors = (bool) $ignore; |
|
415 | 415 | |
416 | 416 | return $this; |
417 | 417 |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | |
445 | 445 | $this->proxy_auth = $user; |
446 | 446 | |
447 | - } else $this->proxy_auth = NULL; |
|
447 | + } else $this->proxy_auth = null; |
|
448 | 448 | |
449 | 449 | return $this; |
450 | 450 | |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | * |
459 | 459 | * @return \Comodojo\Httprequest\Httprequest |
460 | 460 | */ |
461 | - final public function setHeader($header, $value = NULL) { |
|
461 | + final public function setHeader($header, $value = null) { |
|
462 | 462 | |
463 | 463 | $this->headers[$header] = $value; |
464 | 464 |