Skip to content

Commit

Permalink
Apply fixes from StyleCI (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk authored Jul 10, 2020
1 parent 3a72f59 commit 499c008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actions/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ public function payload(): array

public function handleRequest(ActionRequest $request)
{
if (!method_exists($this, 'handle')) {
if (! method_exists($this, 'handle')) {
throw new Exception('Missing handle method from the action.');
}

$response = null;

if (!$request->isForRepositoryRequest()) {
if (! $request->isForRepositoryRequest()) {
$request->collectRepositories($this, static::$chunkCount, function ($models) use ($request, &$response) {
Transaction::run(function () use ($models, $request, &$response) {
$response = $this->handle($request, $models);
Expand Down

0 comments on commit 499c008

Please sign in to comment.