Skip to content

Commit

Permalink
Add newline before return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 13, 2023
1 parent c2ab53f commit 5657d27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/forms/Jobs/JobConfigForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function hasBeenSubmitted(): bool
}

$button = $this->getPressedSubmitElement();

return $button && ($button->getName() === 'btn_submit' || $button->getName() === 'btn_remove');
}

Expand Down
2 changes: 2 additions & 0 deletions application/forms/Jobs/ScheduleForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public function getPartUpdates(): array
{
/** @var RequestInterface $request */
$request = $this->getRequest();

return $this->scheduleElement->prepareMultipartUpdate($request);
}

Expand All @@ -79,6 +80,7 @@ public function hasBeenSubmitted(): bool
}

$button = $this->getPressedSubmitElement();

return $button && ($button->getName() === 'submit' || $button->getName() === 'btn_remove');
}

Expand Down

0 comments on commit 5657d27

Please sign in to comment.