/** * @Annotation * @param double $test something special */ public function testReadTypeDoubleAnnotations() { $reader = new ControllerMethodReflector(); $reader->reflect('\\OC\\AppFramework\\Utility\\ControllerMethodReflectorTest', 'testReadTypeDoubleAnnotations'); $this->assertEquals('double', $reader->getType('test')); }