From 3542b3f028fa8f233cdfd3c0b141a2e38cee087d Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Tue, 30 Aug 2022 18:21:19 +0500 Subject: [PATCH] update spatie/ignition to support L9 (#930) --- composer.json | 2 +- src/Contracts/TenantCouldNotBeIdentifiedException.php | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index ff5befd9..cc213add 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "php": "^8.1", "ext-json": "*", "illuminate/support": "^9.0", - "facade/ignition-contracts": "^1.0", + "spatie/ignition": "^1.4", "ramsey/uuid": "^4.0", "stancl/jobpipeline": "^1.0", "stancl/virtualcolumn": "^1.0" diff --git a/src/Contracts/TenantCouldNotBeIdentifiedException.php b/src/Contracts/TenantCouldNotBeIdentifiedException.php index 0066291f..011d974b 100644 --- a/src/Contracts/TenantCouldNotBeIdentifiedException.php +++ b/src/Contracts/TenantCouldNotBeIdentifiedException.php @@ -5,9 +5,8 @@ declare(strict_types=1); namespace Stancl\Tenancy\Contracts; use Exception; -use Facade\IgnitionContracts\BaseSolution; -use Facade\IgnitionContracts\ProvidesSolution; -use Facade\IgnitionContracts\Solution; +use Spatie\Ignition\Contracts\BaseSolution; +use Spatie\Ignition\Contracts\ProvidesSolution; abstract class TenantCouldNotBeIdentifiedException extends Exception implements ProvidesSolution { @@ -42,7 +41,7 @@ abstract class TenantCouldNotBeIdentifiedException extends Exception implements } /** Get the Ignition description. */ - public function getSolution(): Solution + public function getSolution(): BaseSolution { return BaseSolution::create($this->solutionTitle) ->setSolutionDescription($this->solutionDescription)