Skip to content

Commit 9875722

Browse files
committed
Merge branch '6.x'
2 parents c697053 + f1eca82 commit 9875722

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

stubs/CoreGenericFunctions.phpstub

+6
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,12 @@ function is_a($object_or_class, string $class, $allow_string = false): bool{}
16531653
*/
16541654
function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false{}
16551655

1656+
/**
1657+
* @param int|"none"|"long"|"entity"|null $substitute_character
1658+
* @return ($substitute_character is null ? (int|"none"|"long"|"entity") : bool)
1659+
*/
1660+
function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {}
1661+
16561662
/**
16571663
* @template TRead of null|array<array-key, resource>
16581664
* @template TWrite of null|array<array-key, resource>

stubs/Php81.phpstub

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace {
4242
class ReflectionProperty implements Reflector
4343
{
4444
/**
45-
* Starting from PHP 8.1, this method is pure, and has no effect.
45+
* @deprecated Starting from PHP 8.1, this method is pure, and has no effect.
4646
*
4747
* @psalm-pure
4848
*/
@@ -52,7 +52,7 @@ namespace {
5252
class ReflectionMethod extends ReflectionFunctionAbstract
5353
{
5454
/**
55-
* Starting from PHP 8.1, this method is pure, and has no effect.
55+
* @deprecated Starting from PHP 8.1, this method is pure, and has no effect.
5656
*
5757
* @psalm-pure
5858
*/

0 commit comments

Comments
 (0)