public function testSimple() { $annotation = new Returns(['value' => 'test']); $this->assertEquals('test', $annotation->getReturn()); }
/** * @param Method $method * @param Returns $annotation * @return null */ public function handle(Method $method, $annotation) { $method->setReturn($annotation->getReturn()); }