zendframework/zf2 — pull request #3241 by pierredup (2012-12-17 21:10:19+00:00)
Title: Reflection parameter type check

When checking the type of the parameter in a method using the ````ParameterReflection````, this commit first checks the value of the variable before checking the docblock.

E.G

use Some\Library\ClassName;

class Foo {
public function bar(array $var1, ClassName $var2)
{
}
}

The method ````getType```` would correctly return ````array```` and ````Some\Library\ClassName````, even if param annotations isn't defined