Skip to content

Commit

Permalink
Avoid warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 12, 2024
1 parent 00e10be commit d5c70cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/confinvariants.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function invariant_error($abbrev, $text = null, $no_row_text = null) {
$text = $abbrev;
}
$vs = [];
foreach ($this->irow as $t) {
foreach ($this->irow ?? [] as $t) {
$t = $t ?? "<null>";
if (!is_usascii($t)) {
$t = bin2hex($t);
Expand Down

0 comments on commit d5c70cd

Please sign in to comment.