Skip to content

Commit 6f630a8

Browse files
NEWS/UPGRADING: fix missing __ in __toString()
Forgotten by yours truly in 36ae82b [skip ci]
1 parent 63f9e49 commit 6f630a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ PHP NEWS
301301
(DanielEScherzer)
302302
. Fixed bug GH-12856 (ReflectionClass::getStaticPropertyValue() returns UNDEF
303303
zval for uninitialized typed properties). (nielsdos)
304-
. Fixed bug GH-15766 (ReflectionClass::toString() should have better output
304+
. Fixed bug GH-15766 (ReflectionClass::__toString() should have better output
305305
for enums). (DanielEScherzer)
306306
. Added ReflectionProperty::getMangledName() method. (alexandre-daubois)
307307

UPGRADING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ PHP 8.5 UPGRADE NOTES
391391
argument are lower than -1 or if soft_limit is greater than hard_limit.
392392

393393
- Reflection:
394-
. The output of ReflectionClass::toString() for enums has changed to
394+
. The output of ReflectionClass::__toString() for enums has changed to
395395
better indicate that the class is an enum, and that the enum cases
396396
are enum cases rather than normal class constants.
397397
. The output of ReflectionProperty::__toString() for properties with

0 commit comments

Comments
 (0)