Skip to content

Commit

Permalink
fix: create rows with selection cols via RowOCSController
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Sep 11, 2024
1 parent b343626 commit 05461b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model/RowDataInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class RowDataInput implements ArrayAccess, Iterator {
/** @psalm-var array<array{'columnId': int, 'value': mixed}> */
protected array $data = [];

public function add(int $columnId, string $value): self {
public function add(int $columnId, string|array $value): self {
$this->data[] = [self::DATA_KEY => $columnId, self::DATA_VAL => $value];
return $this;
}
Expand Down

0 comments on commit 05461b8

Please sign in to comment.