Skip to content

Commit

Permalink
Correct Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
oleibman committed Sep 25, 2024
1 parent 1d73598 commit f7fcb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpSpreadsheet/Worksheet/Drawing.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function setPath(string $path, bool $verifyFile = true, ?ZipArchive $zip
$ctx = null;
// https://github.com/php/php-src/issues/16023
if (str_starts_with($path, 'https:')) {
$ctx = stream_context_create(['ssl' => ['crypto_method'=>STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT]]);
$ctx = stream_context_create(['ssl' => ['crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT]]);
}
$imageContents = @file_get_contents($path, false, $ctx);
if ($imageContents !== false) {
Expand Down

0 comments on commit f7fcb4b

Please sign in to comment.