Skip to content

Commit

Permalink
[Fix] installation problem on laravel 11 (#72)
Browse files Browse the repository at this point in the history
* Fix styling

* Update Symfony Dom Crawler

---------

Co-authored-by: Baspa <Baspa@users.noreply.github.com>
  • Loading branch information
Baspa and Baspa authored Nov 26, 2024
1 parent b2b41ec commit 35c90ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"jeremykendall/php-domain-parser": "^6.3",
"spatie/browsershot": "^3.0|^4.0",
"spatie/laravel-package-tools": "^1.13",
"symfony/dom-crawler": "^6.2",
"symfony/dom-crawler": "^6.2|^7.0",
"symfony/finder": "^6.2|^7.0",
"vipnytt/robotstxtparser": "^2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
: [];

Expand Down

0 comments on commit 35c90ca

Please sign in to comment.