Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/Http/Controllers/Operations/Concerns/HasForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function formView(?int $id = null): \Illuminate\Contracts\View\View
*
* @return array|\Illuminate\Http\RedirectResponse
*/
public function formAction(?int $id = null, callable $formLogic)
public function formAction(callable $formLogic, ?int $id = null)
{
if ($id) {
// Get entry ID from Request (makes sure its the last ID for nested resources)
Expand Down