Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 9b379ae

Browse files
committed
Small refactoring.
1 parent ca5fea7 commit 9b379ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Doctrine/CouchDB/HTTP/SocketClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function checkConnection()
9393
if ($this->options['verify'] === false) {
9494
$context_options = [
9595
'ssl' => [
96-
'verify_peer' => FALSE,
96+
'verify_peer' => false,
9797
],
9898
];
9999
}

lib/Doctrine/CouchDB/HTTP/StreamClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function checkConnection($method, $path, $data, $headers)
101101
],
102102
];
103103
if ($scheme === 'https' && ($this->options['verify'] === false)) {
104-
$context_options['ssl'] = ['verify_peer' => FALSE];
104+
$context_options['ssl'] = ['verify_peer' => false];
105105
}
106106
$context = stream_context_create($context_options);
107107
$this->httpFilePointer = @fopen(

0 commit comments

Comments
 (0)