Skip to content

Commit

Permalink
Fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
ttempleton committed Jan 9, 2024
1 parent 119904b commit 3e568c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixed

- Fixed a `TypeError` that occurred if a non-AJAX reorder request failed

## 2.0.0 - 2022-05-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/ReorderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ReorderController extends Controller
*
* @return Response
*/
public function actionIndex(): Response
public function actionIndex(): ?Response
{
$this->requirePostRequest();

Expand Down

0 comments on commit 3e568c6

Please sign in to comment.