Skip to content

Commit 683b0a1

Browse files
committed
build: Replace @phan-template annotations with @template
@template can also be used by other static analyzers Bug: T403790 Change-Id: If39d7db6e5d1062791c53f8eaf2ea3e2e7ed6180
1 parent 765e9b0 commit 683b0a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TestingAccessWrapper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ public static function constant( $className, $constantName ) {
8383

8484
/**
8585
* Allow constructing a class with a non-public constructor.
86+
*
87+
* @template T
8688
* @param class-string<T> $className
8789
* @param mixed ...$args
8890
* @return T
89-
* @phan-template T
9091
*/
9192
public static function construct( string $className, ...$args ) {
9293
$classReflection = new ReflectionClass( $className );

0 commit comments

Comments
 (0)