Update PHPdoc in AmazonIncentive and Config class
Missing documentation for methods/class constructors
This commit is contained in:
@@ -22,12 +22,12 @@ final class AmazonIncentives
|
||||
/**
|
||||
* AmazonGiftCode constructor.
|
||||
*
|
||||
* @param string|null $key
|
||||
* @param string|null $secret
|
||||
* @param string|null $partner
|
||||
* @param string|null $endpoint
|
||||
* @param string|null $currency
|
||||
* @param bool|null $debug
|
||||
* @param string|null $key Account key
|
||||
* @param string|null $secret Secret key
|
||||
* @param string|null $partner Partner ID
|
||||
* @param string|null $endpoint Endpoint URL including https://
|
||||
* @param string|null $currency Currency type. Eg USD, JPY, etc
|
||||
* @param bool|null $debug Debug flag
|
||||
*/
|
||||
public function __construct(
|
||||
string $key = null,
|
||||
|
||||
@@ -24,6 +24,7 @@ class Config implements ConfigInterface
|
||||
* @param string|null $endpoint Endpoing URL including https://
|
||||
* @param string|null $currency Currency to use, see valid list on AWS documentation.
|
||||
* valid names are like USD, JPY, etc
|
||||
* @param bool|null $debug Debug flag
|
||||
*/
|
||||
public function __construct(
|
||||
?string $key,
|
||||
|
||||
Reference in New Issue
Block a user