Skip to content

Commit

Permalink
Merge pull request #319 from commercetools/php-easy-fix
Browse files Browse the repository at this point in the history
DEVX-404 adding a docblock in the clientcredential
  • Loading branch information
jenschude authored Jul 10, 2024
2 parents faf2107 + 78dd403 commit 2664039
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
| * Provide the scope when you want to request a specific ones for the client.
| * Can be omitted to use all scopes of the oauth client.
| * Format: `<the scope name>:<the project key>`.
| * Example: `manage_products:project1`.
| */
| public function __construct(string $!clientId, string $!clientSecret, string $!scope = null)
| {
| $!this->clientId = $!clientId;
Expand Down

0 comments on commit 2664039

Please sign in to comment.