Closed rdk01 closed 5 years ago
Probably, a typo, but classes always resolve to the current namespace, so we need to use fully qualified name here:
https://github.com/KyranRana/cloudflare-bypass/blob/5fde39d4c3b9e4a9670747bacc9e18663818208e/src/CloudflareBypass/CFBypasser.php#L182
Change new Exception to new \ErrorException
v3.0.0 out now.
Probably, a typo, but classes always resolve to the current namespace, so we need to use fully qualified name here:
https://github.com/KyranRana/cloudflare-bypass/blob/5fde39d4c3b9e4a9670747bacc9e18663818208e/src/CloudflareBypass/CFBypasser.php#L182