]> granicus.if.org Git - php/commit
Allow adding return type during inheritance
authorNikita Popov <nikic@php.net>
Sun, 22 Mar 2015 17:50:36 +0000 (18:50 +0100)
committerNikita Popov <nikic@php.net>
Sun, 22 Mar 2015 17:56:14 +0000 (18:56 +0100)
commita34f81deee53ddf3b59405fc37d9f92cf41c8636
tree2cffb4a85a3644aacc1e2b4c01a6c853a550c17a
parenta50e9d87f265f911f9c76ca0e998588be0bd6eac
Allow adding return type during inheritance

This is allowed as per the return types RFC. The test for this
behavior happened to use an internal class without arginfo, which
is why this was not properly implemented.
Zend/tests/typehints/add_return_type.phpt [new file with mode: 0644]
Zend/zend_inheritance.c