Skip to content

Commit

Permalink
Update Bulk.php
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-c committed Dec 4, 2014
1 parent 121a439 commit 94c110d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Mongovel/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public function __construct(MongoCollection $collection, array $options = array(
{
$this->bulks = array(
// operation => [hasOne, phpBatch]
'insert' => [false, new MongoInsertBatch($collection, $options)],
'update' => [false, new MongoUpdateBatch($collection, $options)],
'remove' => [false, new MongoDeleteBatch($collection, $options)],
'insert' => array(false, new MongoInsertBatch($collection, $options)),
'update' => array(false, new MongoUpdateBatch($collection, $options)),
'remove' => array(false, new MongoDeleteBatch($collection, $options)),
);
}

Expand Down Expand Up @@ -86,4 +86,4 @@ public function upsert()
return $this;
}

}
}

0 comments on commit 94c110d

Please sign in to comment.