Skip to content

Commit

Permalink
TL-34383 8.1 compatibility fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Finegan authored and codyfinegan committed Apr 10, 2024
1 parent 9f3e5a4 commit a1ef192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6250,7 +6250,7 @@ protected function handleImportLoop($name)
continue;
}

$file = $this->sourceNames[$env->block->sourceIndex];
$file = $this->sourceNames[$env->block->sourceIndex] ?? '';

if ($file === null) {

Check failure on line 6255 in src/Compiler.php

View workflow job for this annotation

GitHub Actions / Static analysis

Strict comparison using === between mixed and null will always evaluate to false.

Check failure on line 6255 in src/Compiler.php

View workflow job for this annotation

GitHub Actions / Static analysis

Strict comparison using === between mixed and null will always evaluate to false.
continue;
Expand Down

0 comments on commit a1ef192

Please sign in to comment.