From 8e4f4aca938d024285b4f323425a07bae840ef54 Mon Sep 17 00:00:00 2001 From: Barbara Palumbo Date: Thu, 4 Jul 2024 07:52:58 +0200 Subject: [PATCH] adding a docblock in the clientcredential class --- .../languages/php/base/PhpBaseFileProducer.kt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt b/languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt index 16a2f70b8..40a71ffe3 100644 --- a/languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt +++ b/languages/php/src/main/kotlin/io/vrap/codegen/languages/php/base/PhpBaseFileProducer.kt @@ -2752,7 +2752,19 @@ class PhpBaseFileProducer constructor(val api: Api, @BasePackageName val package | | /** @psalm-var string */ | private $!cacheKey; - | + | /** + | * The constructor of the ClientCredentials class. + | * + | * @param string $!clientId + | * The client id. + | * @param string $!clientSecret + | * The client secret. + | * @param string $!scope + | * The scope is needed when you have a client with multiple permissions + | * but you want only a token for a specific scope. + | * Format: `:`. + | * Example: `manage_products:project1`. + | */ | public function __construct(string $!clientId, string $!clientSecret, string $!scope = null) | { | $!this->clientId = $!clientId;