mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Cleanup docbook
This commit is contained in:
parent
28b7fa7d0e
commit
fd17706118
@ -90,13 +90,13 @@ class ApiDocExtractor
|
|||||||
* - annotation
|
* - annotation
|
||||||
* - resource
|
* - 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
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function extractAnnotations(\Traversable $routes)
|
public function extractAnnotations(array $routes)
|
||||||
{
|
{
|
||||||
$array = array();
|
$array = array();
|
||||||
$resources = array();
|
$resources = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user