Skip to content

Commit

Permalink
Correct CS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota committed Mar 19, 2015
1 parent 6d2f634 commit cae9dff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Adaptor/CakeFabricateAdaptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ public function create($modelName, $attributes, $recordCount)
$entities = $table->newEntities($attributes, ['validate' => $this->options[self::OPTION_VALIDATE]]);
$table->connection()->transactional(function () use ($table, $entities) {
foreach ($entities as $entity) {
$ret = $table->save($entity, ['checkRules' => $this->options[self::OPTION_CHECK_RULES], 'atomic' => false]);
$ret = $table->save($entity, [
'checkRules' => $this->options[self::OPTION_CHECK_RULES],
'atomic' => false
]);
if (!$ret) {
return false;
}
Expand Down

0 comments on commit cae9dff

Please sign in to comment.