Skip to content

Commit 34afb62

Browse files
committed
Removed verbose curlopt fixes paquettg#176
1 parent ac09501 commit 34afb62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/PHPHtmlParser/Curl.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public function get(string $url): string
2929
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
3030
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
3131
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
32-
curl_setopt($ch, CURLOPT_VERBOSE, false);
33-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
3432
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36');
3533
curl_setopt($ch, CURLOPT_URL, $url);
3634

0 commit comments

Comments
 (0)