Skip to content

Commit 544101b

Browse files
committed
Fix stubs
1 parent bb19be5 commit 544101b

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

stubs/ReflectionClass.stub

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
class ReflectionClass
77
{
88

9+
/**
10+
* @readonly
11+
* @var class-string<T>
12+
*/
13+
public $name;
14+
915
/**
1016
* @param T|class-string<T> $argument
1117
* @throws ReflectionException

stubs/ext-ds.stub

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,21 @@ final class Map implements Collection, ArrayAccess
348348
}
349349

350350
/**
351-
* @template-covariant TKey
352-
* @template-covariant TValue
351+
* @template TKey
352+
* @template TValue
353353
*/
354354
final class Pair implements JsonSerializable
355355
{
356+
/**
357+
* @var TKey
358+
*/
359+
public $key;
360+
361+
/**
362+
* @var TValue
363+
*/
364+
public $value;
365+
356366
/**
357367
* @param TKey $key
358368
* @param TValue $value

0 commit comments

Comments
 (0)