From eed45a41a391be9a87482bead63bc7b90e3c5b0f Mon Sep 17 00:00:00 2001 From: Branden Cash Date: Fri, 12 Jun 2015 16:21:37 -0700 Subject: [PATCH] Fixed the missing closing doc chars and updated sample --- .../swagger-codegen/src/main/resources/php/api.mustache | 6 +++--- .../petstore/php/SwaggerClient-php/lib/Api/PetApi.php | 7 ++++--- .../petstore/php/SwaggerClient-php/lib/Api/StoreApi.php | 7 ++++--- .../petstore/php/SwaggerClient-php/lib/Api/UserApi.php | 7 ++++--- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/modules/swagger-codegen/src/main/resources/php/api.mustache b/modules/swagger-codegen/src/main/resources/php/api.mustache index 05f6944e720..3ed7f18c579 100644 --- a/modules/swagger-codegen/src/main/resources/php/api.mustache +++ b/modules/swagger-codegen/src/main/resources/php/api.mustache @@ -44,12 +44,12 @@ class {{classname}} { } } - /** @var \{{invokerPackage}}\ApiClient instance of the ApiClient + /** @var \{{invokerPackage}}\ApiClient instance of the ApiClient */ private $apiClient; /** - * @return \{{invokerPackage}}\ApiClient get the API client - */ + * @return \{{invokerPackage}}\ApiClient get the API client + */ public function getApiClient() { return $this->apiClient; } diff --git a/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php b/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php index 01ecd6771e4..f4f6ea8538a 100644 --- a/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php +++ b/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php @@ -43,11 +43,12 @@ class PetApi { } } - private $apiClient; // instance of the ApiClient + /** @var \Swagger\Client\ApiClient instance of the ApiClient */ + private $apiClient; /** - * @return \Swagger\Client\ApiClient get the API client - */ + * @return \Swagger\Client\ApiClient get the API client + */ public function getApiClient() { return $this->apiClient; } diff --git a/samples/client/petstore/php/SwaggerClient-php/lib/Api/StoreApi.php b/samples/client/petstore/php/SwaggerClient-php/lib/Api/StoreApi.php index b8b30977b59..07a922aab0a 100644 --- a/samples/client/petstore/php/SwaggerClient-php/lib/Api/StoreApi.php +++ b/samples/client/petstore/php/SwaggerClient-php/lib/Api/StoreApi.php @@ -43,11 +43,12 @@ class StoreApi { } } - private $apiClient; // instance of the ApiClient + /** @var \Swagger\Client\ApiClient instance of the ApiClient */ + private $apiClient; /** - * @return \Swagger\Client\ApiClient get the API client - */ + * @return \Swagger\Client\ApiClient get the API client + */ public function getApiClient() { return $this->apiClient; } diff --git a/samples/client/petstore/php/SwaggerClient-php/lib/Api/UserApi.php b/samples/client/petstore/php/SwaggerClient-php/lib/Api/UserApi.php index 2e83df74da4..f4d35a3a7a0 100644 --- a/samples/client/petstore/php/SwaggerClient-php/lib/Api/UserApi.php +++ b/samples/client/petstore/php/SwaggerClient-php/lib/Api/UserApi.php @@ -43,11 +43,12 @@ class UserApi { } } - private $apiClient; // instance of the ApiClient + /** @var \Swagger\Client\ApiClient instance of the ApiClient */ + private $apiClient; /** - * @return \Swagger\Client\ApiClient get the API client - */ + * @return \Swagger\Client\ApiClient get the API client + */ public function getApiClient() { return $this->apiClient; }