diff --git a/system/View/Table.php b/system/View/Table.php index 0cab38fb4f39..c9cd33d39ac6 100644 --- a/system/View/Table.php +++ b/system/View/Table.php @@ -25,7 +25,7 @@ class Table /** * Data for table rows * - * @var array + * @var list|list> */ public $rows = []; @@ -258,7 +258,7 @@ public function setSyncRowsWithHeading(bool $orderByKey) * * Ensures a standard associative array format for all cell data * - * @return array + * @return array|list */ protected function _prepArgs(array $args) { @@ -381,7 +381,7 @@ public function generate($tableData = null) $cell = $cell['data'] ?? ''; $out .= $temp; - if ($cell === '' || $cell === null) { + if ($cell === '') { $out .= $this->emptyCells; } elseif (isset($this->function)) { $out .= ($this->function)($cell);