Skip to content

Commit f9fd6bc

Browse files
authored
Merge pull request #11401 from danog/deprecate_setAccessible
Deprecate reflection's setAccessible on 8.1
2 parents 049072e + f1eca82 commit f9fd6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)