incubator
incubator copied to clipboard
\Phalcon\Http\Client\Provider\Curl Throwing Exception with string "curl" as code
See: https://github.com/phalcon/incubator/blob/08ab1a938d8160a2f0d1df535822ecc86e85220e/Library/Phalcon/Http/Client/Provider/Curl.php#L48
Is it me? Tracing this back i see the HttpException extending PHP \Exception - so an int is expected.
What was this ..., 'curl' for?
I think this is in all versions