Permalink
Browse files

Make Form\Annotation\Input usable

  • Loading branch information...
1 parent 027de58 commit ec476fdfa6b09f6cc8f270e46c77bf5b267aace0 @thestanislav committed Aug 26, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 library/Zend/Form/Annotation/ElementAnnotationsListener.php
@@ -251,9 +251,8 @@ public function handleInputAnnotation($e)
return;
}
- $name = $e->getParam('name');
- $filterSpec = $e->getParam('filterSpec');
- $filterSpec[$name] = $annotation->getInput();
+ $inputSpec = $e->getParam('inputSpec');
+ $inputSpec['type'] = $annotation->getInput();
}
/**

0 comments on commit ec476fd

Please sign in to comment.