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; }