From a4780006814707f9fc3de751f3c499ddec05c3df Mon Sep 17 00:00:00 2001 From: Florian Thoma Date: Thu, 22 Jun 2023 15:35:29 +1000 Subject: [PATCH] Fix extension hook --- src/Extensions/ListingsRootPageExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/ListingsRootPageExtension.php b/src/Extensions/ListingsRootPageExtension.php index 28f74ec..00de497 100644 --- a/src/Extensions/ListingsRootPageExtension.php +++ b/src/Extensions/ListingsRootPageExtension.php @@ -326,7 +326,7 @@ public function getExcludedSiteTreeClassNames() return $classes; } - public function augmentAllChildrenIncludingDeleted(&$stageChildren, &$context) + public function augmentAllChildrenIncludingDeleted(&$stageChildren) { if ($this->shouldFilter()) { $stageChildren = $stageChildren->exclude('ClassName', $this->getExcludedSiteTreeClassNames());