- Some more work done on documentation and fixed some code at PHP 8 level
This commit is contained in:
1 parent
3986437800
commit
f00c98b7ff
3 files changed
+122
-2
No files matched your search
@@ -30,7 +30,7 @@ class UiInput extends UiElement implements Extension {
|
||||
return "<?php echo ( new \\" . static::class . "() )->buildHtml($arguments) ?>";
|
||||
}
|
||||
|
||||
public function buildHtml(string $name, /*? mixed */ $value = null, array $attributes = [], array $options = []) : string
|
||||
public function buildHtml(string $name, mixed $value = null, array $attributes = [], array $options = []) : string
|
||||
{
|
||||
$this->name = $name;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class UiSelect extends UiElement implements Extension {
|
||||
return "<?php echo ( new \\" . static::class . "() )->buildHtml($arguments) ?>";
|
||||
}
|
||||
|
||||
public function buildHtml(string $name, array $list, $value = null, array $attributes = [], bool $strictComparison = true) : string
|
||||
public function buildHtml(string $name, array $list, mixed $value = null, array $attributes = [], bool $strictComparison = true) : string
|
||||
{
|
||||
if ($attributes['class'] ?? false) {
|
||||
$attributes['class'] = implode(" ", array_merge((array) $attributes['class'], (array) $this->attributes['class']));
|
||||
|
||||
Reference in new issue
Block a user