Skip to content

Commit 4786799

Browse files
committed
fix stan
1 parent d7bc333 commit 4786799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Table/Column/Flag.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Atk4\Ui\Table\Column;
66

7+
use Atk4\Data\Field;
78
use Atk4\Data\Model;
89
use Atk4\Ui\Table;
910

@@ -18,7 +19,7 @@ class Flag extends Table\Column
1819
/** @var string|null Optional name of model field which contains country names. */
1920
public $name_field;
2021

21-
public function getHtmlTags(Model $row, $field)
22+
public function getHtmlTags(Model $row, ?Field $field): array
2223
{
2324
$countryCode = $row->get($this->code_field);
2425
$countryName = $this->name_field ? $row->get($this->name_field) : null;

0 commit comments

Comments
 (0)