diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-08 11:24:08 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-08 11:51:23 +0200 |
commit | 5c474010fbe6f2969eec966250f8fbdf05a6d96d (patch) | |
tree | d9dae066c1caaf4363d535d1f1e47664923e3b7e /ext/reflection/php_reflection.c | |
parent | d5ef9c5b289a31e1c3618916607ca3f68e06f9c0 (diff) | |
download | php-git-5c474010fbe6f2969eec966250f8fbdf05a6d96d.tar.gz |
Deduplicate inheritance type check implementation
Make the check covariant (insofar as it is allowed now, i.e.
nullability and iterable) and call it with appropriate argument
order for both parameter and return types.
This makes it simpler to extend to full variance support.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions