Update PHPdoc in AmazonIncentive and Config class

Missing documentation for methods/class constructors
This commit is contained in:
2022-06-10 14:30:20 +09:00
parent e1b5dc1bab
commit 6f177986f9
2 changed files with 7 additions and 6 deletions

View File

@@ -22,12 +22,12 @@ final class AmazonIncentives
/** /**
* AmazonGiftCode constructor. * AmazonGiftCode constructor.
* *
* @param string|null $key * @param string|null $key Account key
* @param string|null $secret * @param string|null $secret Secret key
* @param string|null $partner * @param string|null $partner Partner ID
* @param string|null $endpoint * @param string|null $endpoint Endpoint URL including https://
* @param string|null $currency * @param string|null $currency Currency type. Eg USD, JPY, etc
* @param bool|null $debug * @param bool|null $debug Debug flag
*/ */
public function __construct( public function __construct(
string $key = null, string $key = null,

View File

@@ -24,6 +24,7 @@ class Config implements ConfigInterface
* @param string|null $endpoint Endpoing URL including https:// * @param string|null $endpoint Endpoing URL including https://
* @param string|null $currency Currency to use, see valid list on AWS documentation. * @param string|null $currency Currency to use, see valid list on AWS documentation.
* valid names are like USD, JPY, etc * valid names are like USD, JPY, etc
* @param bool|null $debug Debug flag
*/ */
public function __construct( public function __construct(
?string $key, ?string $key,