diff --git a/src/ElementalSearchExtension.php b/src/ElementalSearchExtension.php index 4ce97c3..3ba8881 100644 --- a/src/ElementalSearchExtension.php +++ b/src/ElementalSearchExtension.php @@ -22,7 +22,7 @@ public function onAfterPublish(&$original) * Force a re-index of the parent page on archive of element * @param Versioned $original */ - public function onAfterDelete(&$original) + public function onAfterDelete() { $this->updateSearchContent(); } @@ -45,4 +45,4 @@ public function updateSearchContent() } } } -} \ No newline at end of file +}