intelephense
1.14.41.16.1
lib/stub/Reflection/ReflectionConstant.phplib/stub/Reflection/ReflectionConstant.php+21−1
Index: package/lib/stub/Reflection/ReflectionConstant.php
===================================================================
--- package/lib/stub/Reflection/ReflectionConstant.php
+++ package/lib/stub/Reflection/ReflectionConstant.php
@@ -1,9 +1,9 @@
<?php
/**
* @since 8.4
*/
-final class ReflectionConstant implements Reflector
+class ReflectionConstant implements Reflector
{
public string $name;
public function __construct(string $name) {}
@@ -18,5 +18,25 @@
public function isDeprecated(): bool {}
public function __toString(): string {}
+
+ /**
+ * @since 8.5
+ */
+ public function getFileName(): string|false {}
+
+ /**
+ * @since 8.5
+ */
+ public function getExtension(): ?ReflectionExtension {}
+
+ /**
+ * @since 8.5
+ */
+ public function getExtensionName(): string|false {}
+
+ /**
+ * @since 8.5
+ */
+ public function getAttributes(?string $name = null, int $flags = 0): array {}
}