Skip to content

Commit dd9d631

Browse files
committed
dont call bindClient on null
1 parent 88181f8 commit dd9d631

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/phpt-oom/php84/out_of_memory_fatal_error_increases_memory_limit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $options->setTransport($transport);
6363

6464
$client = (new ClientBuilder($options))->getClient();
6565

66-
SentrySdk::init()->bindClient($client);
66+
SentrySdk::init($client);
6767

6868
echo 'Before OOM memory limit: ' . \ini_get('memory_limit');
6969

tests/phpt-oom/php85/out_of_memory_fatal_error_increases_memory_limit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $options->setTransport($transport);
6363

6464
$client = (new ClientBuilder($options))->getClient();
6565

66-
SentrySdk::init()->bindClient($client);
66+
SentrySdk::init($client);
6767

6868
echo 'Before OOM memory limit: ' . \ini_get('memory_limit');
6969

0 commit comments

Comments
 (0)