1
0

downgrade to kirby v3

This commit is contained in:
Philip Wagner
2024-09-01 10:47:15 +02:00
parent a4b2aece7b
commit af86acb7a1
1085 changed files with 54743 additions and 65042 deletions

View File

@@ -4,14 +4,14 @@ namespace Kirby\Form\Mixin;
trait EmptyState
{
protected string|null $empty;
protected $empty;
protected function setEmpty(string|array|null $empty = null): void
protected function setEmpty($empty = null)
{
$this->empty = $this->i18n($empty);
}
public function empty(): string|null
public function empty(): ?string
{
return $this->stringTemplate($this->empty);
}

View File

@@ -4,9 +4,9 @@ namespace Kirby\Form\Mixin;
trait Max
{
protected int|null $max;
protected $max;
public function max(): int|null
public function max(): ?int
{
return $this->max;
}

View File

@@ -4,9 +4,9 @@ namespace Kirby\Form\Mixin;
trait Min
{
protected int|null $min;
protected $min;
public function min(): int|null
public function min(): ?int
{
return $this->min;
}