From d387e12e8330959171468e38cafb899e655c4af6 Mon Sep 17 00:00:00 2001 From: Bas van Dinther Date: Thu, 9 Mar 2023 20:55:19 +0100 Subject: [PATCH] [Feature] Laravel 10 compatibility (#24) * Update Illuminate/Contracts for Laravel 10 compatibility * Fix styling --------- Co-authored-by: Baspa --- composer.json | 4 ++-- src/Seo.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index f1bd4b4c..2256adfa 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": "^8.1", "guzzlehttp/guzzle": "^7.5", - "illuminate/contracts": "^9.0", + "illuminate/contracts": "^9.0|^10.0", "j0k3r/php-readability": "^2.0", "spatie/laravel-package-tools": "^1.13", "symfony/dom-crawler": "^6.2", @@ -36,7 +36,7 @@ "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.5" }, "autoload": { "psr-4": { diff --git a/src/Seo.php b/src/Seo.php index 3b37aa5f..e30025c3 100755 --- a/src/Seo.php +++ b/src/Seo.php @@ -141,8 +141,6 @@ public static function getCheckClasses(): Collection /** * Order the checks so that the checks where 'continueAfterFailure' is set to false comes first. * This way we can stop the pipeline when a check fails and we don't want to continue. - * - * @return Collection */ public static function orderedCheckClasses(): Collection {