Skip to content
Snippets Groups Projects
Commit 072eed4f authored by Pawel Ginalski's avatar Pawel Ginalski
Browse files

Issue #3247216 by sgalindo2388, gbyte: PHP Fatal error: Declaration of...

Issue #3247216 by sgalindo2388, gbyte: PHP Fatal error:  Declaration of Drupal\simple_sitemap\Entity\SimpleSitemap::purgeContent
parent b3760d6b
No related branches found
Tags 4.0.0
No related merge requests found
......@@ -347,7 +347,7 @@ class SimpleSitemap extends ConfigEntityBase implements SimpleSitemapInterface {
/**
* {@inheritdoc}
*/
public static function purgeContent($variants = NULL, ?bool $status = self::FETCH_BY_STATUS_ALL) {
public static function purgeContent(?array $variants = NULL, ?bool $status = self::FETCH_BY_STATUS_ALL) {
\Drupal::entityTypeManager()->getStorage('simple_sitemap')->purgeContent($variants, $status);
}
......
......@@ -74,7 +74,7 @@ class EntitiesForm extends SimpleSitemapFormBase {
$container->get('simple_sitemap.settings'),
$container->get('simple_sitemap.form_helper'),
$container->get('simple_sitemap.entity_helper'),
$container->get('simple_sitemap.entity_manager'),
$container->get('simple_sitemap.entity_manager')
);
}
......
......@@ -55,7 +55,7 @@ class ArbitraryUrlGenerator extends UrlGeneratorBase {
$plugin_id,
$plugin_definition,
$logger,
$settings,
$settings
);
$this->moduleHandler = $module_handler;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment