Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
51283347
Commit
51283347
authored
Oct 05, 2021
by
Michael Iseard
Browse files
Add missing return comment and remove unused property
parent
c5d33459
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Service/Vendor/MollieVendor.php
View file @
51283347
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment