Skip to content

Commit

Permalink
Correction to migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanThompson committed Aug 21, 2019
1 parent 26f23cb commit e0c88bf
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -62,10 +62,8 @@ public function up()
}

$folders->withoutEvents(
function () use ($folder) {

/* @var FileRepositoryInterface $this */
$this->save($folder->setRawAttribute('str_id', str_random(24)));
function () use ($folders, $folder) {
$folders->save($folder->setRawAttribute('str_id', str_random(24)));
}
);
}
Expand Down

0 comments on commit e0c88bf

Please sign in to comment.