Commit 51283347 authored by Michael Iseard's avatar Michael Iseard
Browse files

Add missing return comment and remove unused property

parent c5d33459
......@@ -41,12 +41,6 @@ class MollieVendor implements VendorInterface {
* @var string
*/
private $api_mode;
/**
* The API key to use
*
* @var string
*/
private $api_key;
/**
* @var \Kudos\Service\LoggerService
*/
......@@ -89,7 +83,6 @@ class MollieVendor implements VendorInterface {
if($key) {
try{
$this->api_client->setApiKey($key);
$this->api_key = $key;
$this->api_mode = $mode;
} catch (ApiException $e) {
$this->logger->critical( $e->getMessage() );
......@@ -690,6 +683,7 @@ class MollieVendor implements VendorInterface {
/**
* Syncs Mollie transactions with the local DB.
* Returns the number of transactions updated.
* @return int
*/
public function sync_transactions(): int {
$updated = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment