Skip to content

Instantly share code, notes, and snippets.

@belambic
Created October 25, 2022 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save belambic/048ea3939dd0714d24b3706d6dbd0873 to your computer and use it in GitHub Desktop.
Save belambic/048ea3939dd0714d24b3706d6dbd0873 to your computer and use it in GitHub Desktop.
plug patch
diff --git a/lib/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionClass.php b/lib/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionClass.php
index b65979a..bf5be05 100644
--- a/lib/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionClass.php
+++ b/lib/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionClass.php
@@ -106,7 +106,7 @@ class StaticReflectionClass extends ReflectionClass
/**
* {@inheritDoc}
*/
- public function getConstants()
+ public function getConstants(int $filter = null)
{
throw new ReflectionException('Method not implemented');
}
@@ -394,7 +394,7 @@ class StaticReflectionClass extends ReflectionClass
/**
* {@inheritDoc}
*/
- public function newInstance($args)
+ public function newInstance(mixed ...$args)
{
throw new ReflectionException('Method not implemented');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment