Skip to content

Commit

Permalink
Merge pull request #6 from duncanmcclean/fix-ignition-runnable-soluti…
Browse files Browse the repository at this point in the history
…ons-return-type

Legacy `RunnableSolution` should continue to extend legacy `Solution`
  • Loading branch information
riasvdv authored Jul 9, 2024
2 parents 42c10e4 + 31fefe6 commit 4bb6c73
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion legacy/ignition/Contracts/RunnableSolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, mixed> $parameters */
public function run(array $parameters = []): void;

/** @return array<string, mixed> */
public function getRunParameters(): array;
}

0 comments on commit 4bb6c73

Please sign in to comment.