Skip to content

Commit ae30151

Browse files
committed
[doc] fixes typo
more here: Payum/Payum#455 (comment)
1 parent 9e7d3dc commit ae30151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Resources/docs/get-it-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use Payum\Core\Payum;
2727
/** @var Payum $payum */
2828
$payum = (new PayumBuilder())
2929
->addDefaultStorages()
30-
->addGatewayConfig('gatewayName', [
30+
->addGateway('gatewayName', [
3131
'factory' => 'offline'
3232
])
3333

Tests/Action/StatusActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function shouldMarkCanceledIfStatusSetToCanceled()
146146
$request = new GetBinaryStatus(array(
147147
Constants::FIELD_STATUS => Constants::STATUS_CANCELED,
148148
));
149-
$request->markCanceled();
149+
$request->markUnknown();
150150

151151
$action = new StatusAction();
152152

0 commit comments

Comments
 (0)