Created
October 25, 2022 15:35
-
-
Save belambic/048ea3939dd0714d24b3706d6dbd0873 to your computer and use it in GitHub Desktop.
plug patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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