Skip to content

Commit

Permalink
Fixed typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
martinssipenko committed Sep 13, 2015
1 parent 98fc2eb commit 166e5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/S3/BatchDelete.php
Expand Up @@ -69,7 +69,7 @@ public static function fromListObjects(
$fn = function (BatchDelete $that) use ($iter) {
return $iter->each(function ($result) use ($that) {
$promises = [];
if (is_array($results['Contents'])) {
if (is_array($result['Contents'])) {
foreach ($result['Contents'] as $object) {
if ($promise = $that->enqueue($object)) {
$promises[] = $promise;
Expand Down

0 comments on commit 166e5f6

Please sign in to comment.