Completed
Pull Request — master (#2)
by
unknown
11:51
created
src/Httprequest.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -517,7 +517,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.