Skip to content

Commit

Permalink
Fix incorrect func arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Apr 21, 2023
1 parent 4b0ed3a commit 79d8f08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.2 - 2023-04-21
### Fixed
- Fix incorrect func arg

## 4.0.1 - 2023-04-21
### Fixed
- Fixed missing revalidation URLs field
2 changes: 1 addition & 1 deletion src/services/Revalidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function init (): void
);
}

public function onAfterElementSave (SectionEvent $event): void
public function onAfterElementSave (ModelEvent $event): void
{
/** @var Element $element */
$element = $event->sender;
Expand Down

0 comments on commit 79d8f08

Please sign in to comment.