Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Reflection/ReflectionClassConstant.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ReflectionClassConstant implements Reflector
public $name;

/**
* @var string Fully qualified class name where this constant was defined
* @var class-string Fully qualified class name where this constant was defined
*/
#[Immutable]
#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
Expand Down Expand Up @@ -65,7 +65,7 @@ class ReflectionClassConstant implements Reflector
/**
* ReflectionClassConstant constructor.
*
* @param string|object $class Either a string containing the name of the class to reflect, or an object.
* @param class-string|object $class Either a string containing the name of the class to reflect, or an object.
* @param string $constant The name of the class constant.
* @since 7.1
* @link https://php.net/manual/en/reflectionclassconstant.construct.php
Expand Down
2 changes: 1 addition & 1 deletion Reflection/ReflectionMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract
public $name;

/**
* @var string Fully qualified class name where this method was defined
* @var class-string Fully qualified class name where this method was defined
*/
#[Immutable]
#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
Expand Down
4 changes: 2 additions & 2 deletions Reflection/ReflectionProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ReflectionProperty implements Reflector
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: '')]
Expand Down Expand Up @@ -91,7 +91,7 @@ class ReflectionProperty implements Reflector
* 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.
*/
Expand Down
Loading