Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()

From: Date: Tue, 10 Jun 2014 17:45:28 +0000
Subject: Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-74827@lists.php.net to get a copy of this message
On Mon, Jun 9, 2014 at 7:47 AM, Derick Rethans <derick@php.net> wrote: > On Thu, 29 May 2014, Sara Golemon wrote: >> Pretty straight-forward. Makes it easier to recreate a function >> signature from PHP (Mocking) >> https://wiki.php.net/rfc/reflectionparameter.typehint > > On your updated proposal, there is a comment on how class names should > be returned. Right now, the test case only tests for "StdClass", but I > also think you should have a look at namespaced classes, and full > qualified class names in tests. I think that might show class names > should be returned with a \ in front of it. > Nice catch, I'll integrate that after Levi has finished with his return type hinting rfc (we agreed to get his bit done first, then I'll rebase my reflection stuff onto it) -Sara

« previous php.internals (#74827) next »