Skip to content

Commit

Permalink
support new solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jul 4, 2024
1 parent 08e9d95 commit cde4d7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Adapters/Laravel/IgnitionSolutionsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
namespace NunoMaduro\Collision\Adapters\Laravel;

use NunoMaduro\Collision\Contracts\SolutionsRepository;
use Spatie\Ignition\Contracts\SolutionProviderRepository;
use Spatie\ErrorSolutions\Contracts\SolutionProviderRepository;
use Spatie\Ignition\Contracts\SolutionProviderRepository as IgnitionSolutionProviderRepository;
use Throwable;

/**
Expand All @@ -16,14 +17,14 @@ final class IgnitionSolutionsRepository implements SolutionsRepository
/**
* Holds an instance of ignition solutions provider repository.
*
* @var \Spatie\Ignition\Contracts\SolutionProviderRepository
* @var IgnitionSolutionProviderRepository|SolutionProviderRepository
*/
protected $solutionProviderRepository; // @phpstan-ignore-line

/**
* IgnitionSolutionsRepository constructor.
*/
public function __construct(SolutionProviderRepository $solutionProviderRepository) // @phpstan-ignore-line
public function __construct(IgnitionSolutionProviderRepository|SolutionProviderRepository $solutionProviderRepository) // @phpstan-ignore-line
{
$this->solutionProviderRepository = $solutionProviderRepository;
}
Expand Down

0 comments on commit cde4d7c

Please sign in to comment.