From 31fefe6136955760dd6e3798d72e4f2d6169e429 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 9 Jul 2024 11:03:16 +0100 Subject: [PATCH] Legacy `RunnableSolution` should continue to extend legacy `Solution` --- legacy/ignition/Contracts/RunnableSolution.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/legacy/ignition/Contracts/RunnableSolution.php b/legacy/ignition/Contracts/RunnableSolution.php index 6a02c61..ca936ec 100644 --- a/legacy/ignition/Contracts/RunnableSolution.php +++ b/legacy/ignition/Contracts/RunnableSolution.php @@ -2,6 +2,15 @@ namespace Spatie\Ignition\Contracts; -interface RunnableSolution extends \Spatie\ErrorSolutions\Contracts\RunnableSolution +interface RunnableSolution extends Solution { + public function getSolutionActionDescription(): string; + + public function getRunButtonText(): string; + + /** @param array $parameters */ + public function run(array $parameters = []): void; + + /** @return array */ + public function getRunParameters(): array; }