Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk authored and actions-user committed Jun 27, 2021
1 parent 233174f commit 4b95d3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Actions/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function handleRequest(ActionRequest $request)
Transaction::run(function () use ($models, $request, &$response) {
$response = $this->handle($request, $models);

$models->each(fn(Model $model) => ActionLog::forRepositoryAction($this, $model, $request->user())->save());
$models->each(fn (Model $model) => ActionLog::forRepositoryAction($this, $model, $request->user())->save());
});
});
} else {
Expand All @@ -162,7 +162,9 @@ public function handleRequest(ActionRequest $request)
);

Restify::actionLog()::forRepositoryAction(
$this, $model, $request->user()
$this,
$model,
$request->user()
)->save();
});
}
Expand Down

0 comments on commit 4b95d3e

Please sign in to comment.