@@ -127,7 +127,7 @@ class ApiDefinition implements ArrayInstantiationInterface
127
127
*
128
128
* @see http://raml.org/spec.html#resources-and-nested-resources
129
129
*
130
- * @var resource []
130
+ * @var Resource []
131
131
*/
132
132
private $ resources = [];
133
133
@@ -317,7 +317,7 @@ public static function createFromArray($title, array $data = [])
317
317
* Get a resource by a uri
318
318
*
319
319
* @param string $uri
320
- * @return resource
320
+ * @return Resource
321
321
*
322
322
* @throws ResourceNotFoundException
323
323
*/
@@ -341,7 +341,7 @@ public function getResourceByUri($uri)
341
341
* Get a resource by a path
342
342
*
343
343
* @param string $path
344
- * @return resource
344
+ * @return Resource
345
345
*
346
346
* @throws ResourceNotFoundException
347
347
*/
@@ -382,8 +382,8 @@ public function getResourcesAsUri(RouteFormatterInterface $formatter = null)
382
382
}
383
383
384
384
/**
385
- * @param resource [] $resources
386
- * @return resource []
385
+ * @param Resource [] $resources
386
+ * @return Resource []
387
387
*/
388
388
private function getResourcesAsArray ($ resources )
389
389
{
@@ -708,7 +708,7 @@ public function getTraits()
708
708
/**
709
709
* Get the resources tree
710
710
*
711
- * @return resource []
711
+ * @return Resource []
712
712
*/
713
713
public function getResources ()
714
714
{
@@ -778,7 +778,7 @@ public function addSecuredBy(SecurityScheme $securityScheme): void
778
778
* GET /songs => [api.example.org, /songs, GET, [https], Raml\Method]
779
779
* GET /songs/{songId} => [api.example.org, /songs/{songId}, GET, [https], Raml\Method]
780
780
*
781
- * @param resource [] $resources
781
+ * @param Resource [] $resources
782
782
* @return BasicRoute[]
783
783
*/
784
784
private function getMethodsAsArray (array $ resources )
0 commit comments