Skip to content

Commit 465c021

Browse files
committed
[PHPStan] Fix PHPStan notice on PHPStan 1.9.3
1 parent 4d7aad8 commit 465c021

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ public static function table(array $tbody, array $thead = [])
982982
$table .= '| ' . implode(' | ', $tableRows[$row]) . ' |' . PHP_EOL;
983983

984984
// Set the thead and table borders-bottom
985-
if (isset($cols) && (($row === 0 && ! empty($thead)) || ($row + 1 === $totalRows))) {
985+
if (($row === 0 && ! empty($thead)) || ($row + 1 === $totalRows)) {
986986
$table .= $cols . PHP_EOL;
987987
}
988988
}

0 commit comments

Comments
 (0)