File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Table
2525 /**
2626 * Data for table rows
2727 *
28- * @var array
28+ * @var list< array>|list<list<array>>
2929 */
3030 public $ rows = [];
3131
@@ -258,7 +258,7 @@ public function setSyncRowsWithHeading(bool $orderByKey)
258258 *
259259 * Ensures a standard associative array format for all cell data
260260 *
261- * @return array
261+ * @return array<string, array>|list<array>
262262 */
263263 protected function _prepArgs (array $ args )
264264 {
@@ -381,7 +381,7 @@ public function generate($tableData = null)
381381 $ cell = $ cell ['data ' ] ?? '' ;
382382 $ out .= $ temp ;
383383
384- if ($ cell === '' || $ cell === null ) {
384+ if ($ cell === '' ) {
385385 $ out .= $ this ->emptyCells ;
386386 } elseif (isset ($ this ->function )) {
387387 $ out .= ($ this ->function )($ cell );
You can’t perform that action at this time.
0 commit comments