Hotfix for #3289 `ReflectionParameter#getClass()` on `callable` type hint should...
commit99da7812f9a42d91cf38df0c54d3b858f2582239
authorMarco Pivetta <ocramius@gmail.com>
Wed, 30 Jul 2014 09:40:15 +0000 (30 02:40 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Wed, 30 Jul 2014 10:00:20 +0000 (30 03:00 -0700)
treec82f14b5e51d9ed8116028a2acdf52a00d430551
parent6a62bd0f5451ede4555e0052304537e383ec0eb6
Hotfix for #3289 `ReflectionParameter#getClass()` on `callable` type hint should not raise exceptions

Summary: See #3289 - `ReflectionParameter#getClass()` on `callable` type hint should not raise exceptions

PR is NOT tested as I didn't have time to build HHVM today, so I'll have to trust travis here.

Closes https://github.com/facebook/hhvm/pull/3290

Reviewed By: @ptarjan

Differential Revision: D1460709

Pulled By: svcscm
hphp/runtime/ext/reflection/ext_reflection-classes.php
hphp/test/slow/reflection/bug_3289_reflectionparameter_getclass_callable.php [new file with mode: 0644]
hphp/test/slow/reflection/bug_3289_reflectionparameter_getclass_callable.php.expect [new file with mode: 0644]