@@ -87,7 +87,7 @@ |
||
| 87 | 87 | */ |
| 88 | 88 | public static function insensitiveString(string $string, string $value): bool |
| 89 | 89 | { |
| 90 | - return (bool)preg_match_all('/' . $value . '/i', $string); |
|
| 90 | + return (bool) preg_match_all('/' . $value . '/i', $string); |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | } |
| 94 | 94 | \ No newline at end of file |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | */ |
| 61 | 61 | public function setHasSelfSignedCertificate(bool $has): void |
| 62 | 62 | { |
| 63 | - putenv('HAS_SELF_SIGNED_CERT='.($has ? 'true' : 'false')); |
|
| 63 | + putenv('HAS_SELF_SIGNED_CERT=' . ($has ? 'true' : 'false')); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | curl_setopt($cHandler, CURLOPT_TIMEOUT, $options->getTimeout()); |
| 102 | 102 | |
| 103 | 103 | # If self-signed certs are allowed, set it. |
| 104 | - if ((bool)getenv('HAS_SELF_SIGNED_CERT') === true) { |
|
| 104 | + if ((bool) getenv('HAS_SELF_SIGNED_CERT') === true) { |
|
| 105 | 105 | curl_setopt($cHandler, CURLOPT_SSL_VERIFYPEER, false); |
| 106 | 106 | curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false); |
| 107 | 107 | } |