Skip to content

Commit

Permalink
Switch out NativeHttpClient for CurlHttpClient #16.
Browse files Browse the repository at this point in the history
  • Loading branch information
maantje committed Jun 23, 2024
1 parent 87cf0da commit 7d11ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XhprofServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use SpiralPackages\Profiler\DriverFactory;
use SpiralPackages\Profiler\Profiler;
use SpiralPackages\Profiler\Storage\WebStorage;
use Symfony\Component\HttpClient\NativeHttpClient;
use Symfony\Component\HttpClient\CurlHttpClient;
use Throwable;

class XhprofServiceProvider extends ServiceProvider
Expand All @@ -25,7 +25,7 @@ public function register(): void

$this->app->bind(Profiler::class, function () {
$storage = new WebStorage(
new NativeHttpClient(),
new CurlHttpClient(),
config('xhprof.endpoint'),
);

Expand Down

0 comments on commit 7d11ea3

Please sign in to comment.