diff --git a/core/lib/Drupal/Core/Php8/Doctrine/Reflection/StaticReflectionClass.php b/core/lib/Drupal/Core/Php8/Doctrine/Reflection/StaticReflectionClass.php index e24798e47b..3503a78e78 100644 --- a/core/lib/Drupal/Core/Php8/Doctrine/Reflection/StaticReflectionClass.php +++ b/core/lib/Drupal/Core/Php8/Doctrine/Reflection/StaticReflectionClass.php @@ -88,7 +88,7 @@ public function getConstant($name) /** * {@inheritDoc} */ - public function getConstants(int $filter = \ReflectionClassConstant::IS_PUBLIC | \ReflectionClassConstant::IS_PROTECTED | \ReflectionClassConstant::IS_PRIVATE) + public function getConstants(?int $filter = null) { throw new ReflectionException('Method not implemented'); }