Skip to content

Commit 31c5414

Browse files
committed
Add comment explaining stub files are temporary
1 parent 6476ede commit 31c5414

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

stubs/BSON/Document.stub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
namespace MongoDB\BSON;
44

55
/**
6+
* This stub file is temporary and can be removed when using Psalm 5
7+
*
68
* @template TValue
79
* @template-implements \IteratorAggregate<string, TValue>
810
*/

stubs/BSON/Iterator.stub.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<?php
22

3-
/**
4-
* @generate-class-entries static
5-
* @generate-function-entries static
6-
*/
7-
83
namespace MongoDB\BSON;
94

105
/**
6+
* This stub file is temporary and can be removed when using Psalm 5
7+
*
118
* @psalm-template TKey of int|string
129
* @psalm-template TValue
1310
* $psalm-implements \Iterator<TKey, TValue>

stubs/BSON/PackedArray.stub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
namespace MongoDB\BSON;
44

55
/**
6+
* This stub file is temporary and can be removed when using Psalm 5
7+
*
68
* @template TValue
79
* @template-implements \IteratorAggregate<int, TValue>
810
*/

0 commit comments

Comments
 (0)