Skip to content

Commit

Permalink
Revert "feat: handle error reporting"
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoHBustamante authored Nov 28, 2024
1 parent 0e022ef commit f03cd09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Utils/Curl/MessageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ public function withAddedHeader($name, $value): static

private function createBody($body = ''): StreamInterface
{
$oldErrorReporting = error_reporting();
error_reporting(0);
$resource = fopen('php://temp', 'rw+');
error_reporting($oldErrorReporting);
if ($resource === false) {
throw new CurlRequestException('Unable to open stream');
}
Expand Down

0 comments on commit f03cd09

Please sign in to comment.