diff --git a/src/helpers.php b/src/helpers.php index 0b35c40..dc9fbb6 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -72,7 +72,7 @@ function getRemoteFileSize(string $url): int if (! isset($contentLength)) { $options = (array) config('seo.http.options', []); - $context = isset($options['verify']) && !$options['verify'] + $context = isset($options['verify']) && ! $options['verify'] ? $context = ['ssl' => ['verify_peer' => false, 'verify_peer_name' => false]] : [];