Cleanup docbook

This commit is contained in:
Benjamin Bender 2013-03-27 23:19:16 +01:00
parent 28b7fa7d0e
commit fd17706118

View File

@ -90,13 +90,13 @@ class ApiDocExtractor
* - annotation
* - resource
*
* @param \Traversable $routes \Traverseable of Route-objects for which the annotations should be extracted
* @param array $routes array of Route-objects for which the annotations should be extracted
*
* @throws \InvalidArgumentException if one element of \Traversable does not implement Route
* @throws \InvalidArgumentException if one element of the input isnt an instance of Route
*
* @return array
*/
public function extractAnnotations(\Traversable $routes)
public function extractAnnotations(array $routes)
{
$array = array();
$resources = array();