fix filter

This commit is contained in:
Билай Станислав 2024-12-27 14:50:28 +03:00
parent 33d7069708
commit 557fa1e22b

View File

@ -5,12 +5,12 @@ namespace Itguild\Tables\Filter;
abstract class Filter
{
public string $html = '';
public string|array $param;
public string|array $params;
public string $name;
public string $value;
public function __construct(array $source)
{
$this->param = $source['param'] ?? '';
$this->params = $source['param'] ?? '';
$this->name = $source['name'];
$this->value = $source['value'] ?? '';
}