Skip to content

Commit 9aab00e

Browse files
author
Bernhard Schmitt
committed
Another annotation attempt
1 parent b53d3f4 commit 9aab00e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Classes/Domain/Component/PropType/IsComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
final class IsComponent
1616
{
1717
/**
18-
* @param \ReflectionClass<class-string> $reflectionClass
18+
* @param \ReflectionClass<T> $reflectionClass
1919
*/
2020
public static function isSatisfiedByReflectionClass(\ReflectionClass $reflectionClass): bool
2121
{

Classes/Domain/Component/Props.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static function fromClassName(string $className): self
7878
}
7979

8080
/**
81-
* @param \ReflectionClass<class-string> $reflectionClass
81+
* @param \ReflectionClass<T> $reflectionClass
8282
* @return array<string,PropTypeInterface>
8383
*/
8484
private static function extractPropsFromReflectionClass(\ReflectionClass $reflectionClass): array

0 commit comments

Comments
 (0)