@@ -127,7 +127,7 @@ class ApiDefinition implements ArrayInstantiationInterface
127127 *
128128 * @see http://raml.org/spec.html#resources-and-nested-resources
129129 *
130- * @var resource []
130+ * @var Resource []
131131 */
132132 private $ resources = [];
133133
@@ -317,7 +317,7 @@ public static function createFromArray($title, array $data = [])
317317 * Get a resource by a uri
318318 *
319319 * @param string $uri
320- * @return resource
320+ * @return Resource
321321 *
322322 * @throws ResourceNotFoundException
323323 */
@@ -341,7 +341,7 @@ public function getResourceByUri($uri)
341341 * Get a resource by a path
342342 *
343343 * @param string $path
344- * @return resource
344+ * @return Resource
345345 *
346346 * @throws ResourceNotFoundException
347347 */
@@ -382,8 +382,8 @@ public function getResourcesAsUri(RouteFormatterInterface $formatter = null)
382382 }
383383
384384 /**
385- * @param resource [] $resources
386- * @return resource []
385+ * @param Resource [] $resources
386+ * @return Resource []
387387 */
388388 private function getResourcesAsArray ($ resources )
389389 {
@@ -708,7 +708,7 @@ public function getTraits()
708708 /**
709709 * Get the resources tree
710710 *
711- * @return resource []
711+ * @return Resource []
712712 */
713713 public function getResources ()
714714 {
@@ -778,7 +778,7 @@ public function addSecuredBy(SecurityScheme $securityScheme): void
778778 * GET /songs => [api.example.org, /songs, GET, [https], Raml\Method]
779779 * GET /songs/{songId} => [api.example.org, /songs/{songId}, GET, [https], Raml\Method]
780780 *
781- * @param resource [] $resources
781+ * @param Resource [] $resources
782782 * @return BasicRoute[]
783783 */
784784 private function getMethodsAsArray (array $ resources )
0 commit comments