Explorar o código

Fix incorred default values

Jan Oris %!s(int64=8) %!d(string=hai) anos
pai
achega
c2bf23f90a
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      composer.json
  2. 1 1
      src/Builder.php

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
     "name": "ixudra/curl",
     "description": "Custom PHP Curl library for the Laravel 5 framework - developed by Ixudra",
-    "version": "6.8.0",
+    "version": "6.8.1",
     "keywords": ["Ixudra", "Laravel", "Curl"],
     "homepage": "http://ixudra.be",
     "license": "MIT",

+ 1 - 1
src/Builder.php

@@ -11,7 +11,7 @@ class Builder {
     /** @var array $curlOptions         Array of cURL options */
     protected $curlOptions = array(
         'RETURNTRANSFER'        => true,
-        'FAILONERROR'           => true,
+        'FAILONERROR'           => false,
         'FOLLOWLOCATION'        => false,
         'CONNECTTIMEOUT'        => '',
         'TIMEOUT'               => 30,