Skip to content

Commit 7448714

Browse files
committed
[dns] Undefined variable in uncovered code, how did that happen
1 parent cfed336 commit 7448714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Query/RecordCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function storeRecord($currentTime, Record $record)
3333

3434
public function expire($currentTime)
3535
{
36-
foreach ($records as $recordBag) {
36+
foreach ($this->records as $recordBag) {
3737
$recordBag->expire($currentTime);
3838
}
3939
}

0 commit comments

Comments
 (0)