intelephense
1.14.41.16.1
lib/stub/Reflection/ReflectionProperty.phplib/stub/Reflection/ReflectionProperty.php+8−2
Index: package/lib/stub/Reflection/ReflectionProperty.php
===================================================================
--- package/lib/stub/Reflection/ReflectionProperty.php
+++ package/lib/stub/Reflection/ReflectionProperty.php
@@ -32,9 +32,9 @@
#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
public $name;
/**
- * @var string Fully qualified class name where this property was defined
+ * @var class-string Fully qualified class name where this property was defined
*/
#[Immutable]
#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
public $class;
@@ -90,9 +90,9 @@
/**
* Construct a ReflectionProperty object
*
* @link https://php.net/manual/en/reflectionproperty.construct.php
- * @param string|object $class The class name, that contains the property.
+ * @param class-string|object $class The class name, that contains the property.
* @param string $property The name of the property being reflected.
* @throws ReflectionException if the class or property does not exist.
*/
public function __construct(
@@ -266,8 +266,9 @@
*/
#[Pure]
#[StubsElementAvailable(from: "8.1")]
#[TentativeType]
+ #[Deprecated(since: '8.5')]
public function setAccessible(bool $accessible): void {}
/**
* Gets property type
@@ -449,5 +450,10 @@
/**
* @since 8.4
*/
public function isLazy(object $object): bool {}
+
+ /**
+ * @since 8.5
+ */
+ public function getMangledName(): string {}
}