Skip to content

Commit be2aab3

Browse files
committed
Update stubs
1 parent a1ee45c commit be2aab3

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Php8StubsMap.php

+2
Original file line numberDiff line numberDiff line change
@@ -2691,6 +2691,8 @@ public function __construct(int $phpVersionId)
26912691
'sodium_crypto_stream_xchacha20' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20.php',
26922692
'sodium_crypto_stream_xchacha20_keygen' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_keygen.php',
26932693
'sodium_crypto_stream_xchacha20_xor' => 'stubs/ext/sodium/sodium_crypto_stream_xchacha20_xor.php',
2694+
'dl_test_test1' => 'stubs/ext/dl_test/dl_test_test1.php',
2695+
'dl_test_test2' => 'stubs/ext/dl_test/dl_test_test2.php',
26942696
'pcntl_rfork' => 'stubs/ext/pcntl/pcntl_rfork.php',
26952697
'imagecreatefromavif' => 'stubs/ext/gd/imagecreatefromavif.php',
26962698
'imageavif' => 'stubs/ext/gd/imageavif.php',

stubs/ext/dl_test/dl_test_test1.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
/** @generate-class-entries */
4+
#[\Since('8.1')]
5+
function dl_test_test1() : void
6+
{
7+
}

stubs/ext/dl_test/dl_test_test2.php

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
#[\Since('8.1')]
4+
function dl_test_test2(string $str = "") : string
5+
{
6+
}

0 commit comments

Comments
 (0)