Skip to content

Commit 0240457

Browse files
committed
Whoops, fixed wrong variable name.
1 parent b87b8b7 commit 0240457

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function contents()
9191
$result = array();
9292

9393
foreach ($this->yieldContents() as $fileinfo) {
94-
$result[] = $file;
94+
$result[] = $fileinfo;
9595
}
9696

9797
return $result;

src/Zip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function contents()
7676
$result = array();
7777

7878
foreach ($this->yieldContents() as $fileinfo) {
79-
$result[] = $file;
79+
$result[] = $fileinfo;
8080
}
8181

8282
return $result;

0 commit comments

Comments
 (0)