summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-08-09 13:54:06 -0500
committerNikita Popov <nikic@php.net>2016-08-11 12:19:33 +0200
commit622d2f41d1cdb597f4fafecaaacf66e238742bd4 (patch)
treedbba2607b7d375597d7f7fc6de1dc2190b9d8dbf /UPGRADING
parent283b0cc8a5eeb69b8d77195549b385d1db4f6955 (diff)
downloadphp-git-622d2f41d1cdb597f4fafecaaacf66e238742bd4.tar.gz
ReflectionType improvements
Added ReflectionNamedType and updated ReflectionType::__toString()
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING3
1 files changed, 3 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 79714c9fc7..8db36e1fc0 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -93,6 +93,9 @@ PHP 7.1 UPGRADE NOTES
. The behavior of ReflectionMethod::invoke() and ::invokeArgs() has been
aligned, what causes slightly different behavior than before for some
pathological cases.
+ . ReflectionType::__toString() will now return the type name with a leading
+ "?" if it is nullable. To retrieve the type name without leading "?" the new
+ ReflectionNamedType::getName() method can be used.
========================================
2. New Features