Fix phpstan issues.

This commit is contained in:
James Cole
2023-10-30 19:49:40 +01:00
parent d36feebb71
commit 4ee3c7d83e
92 changed files with 142 additions and 126 deletions

View File

@@ -35,9 +35,9 @@ use Throwable;
final class IntervalException extends Exception
{
public readonly array $availableIntervals;
public readonly Periodicity $periodicity;
protected $message = 'The periodicity %s is unknown. Choose one of available periodicity: %s';
public array $availableIntervals;
public Periodicity $periodicity;
protected $message = 'The periodicity %s is unknown. Choose one of available periodicity: %s';
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
{