BetterReflectionTest\Reflection\ReflectionParameterTest::testPhp7TypeDeclarationWithoutType PHP Method

testPhp7TypeDeclarationWithoutType() public method

    public function testPhp7TypeDeclarationWithoutType()
    {
        $classInfo = $this->reflector->reflect(Php7ParameterTypeDeclarations::class);
        $method = $classInfo->getMethod('foo');
        $this->assertNull($method->getParameter('noTypeParam')->getType());
    }