Compare commits

..

2 Commits

Author SHA1 Message Date
f11d155606 fix filter 2024-12-27 14:55:06 +03:00
557fa1e22b fix filter 2024-12-27 14:50:28 +03:00

View File

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