Skip to content

Commit

Permalink
Update Centrifugo.php
Browse files Browse the repository at this point in the history
  • Loading branch information
denis660 authored Oct 25, 2022
1 parent 9a9b8fb commit 4c7fe31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Centrifugo.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ protected function send($method, array $params = [])
'http_errors' => true,
]);

if ($url['scheme'] == 'https') {
if (isset($url['scheme']) && $url['scheme'] == 'https') {
$config->put('verify', collect($this->config)->get('verify', false));

if (collect($this->config)->get('ssl_key')) {
Expand Down

0 comments on commit 4c7fe31

Please sign in to comment.