Skip to content

Commit

Permalink
Merge pull request #772 from lingoda/fix-deprecated-annotations
Browse files Browse the repository at this point in the history
Fix deprecation comments, use proper phpdoc #771
  • Loading branch information
makasim committed Jul 25, 2018
2 parents f54cac2 + 5fd072b commit 96123fd
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Payum/Klarna/Checkout/Action/Api/BaseApiAwareAction.php
Expand Up @@ -13,7 +13,7 @@ abstract class BaseApiAwareAction implements ActionInterface, ApiAwareInterface
}

/**
* BC. will be removed in 2.x. @use $this->api
* @deprecated BC. will be removed in 2.x. Use $this->api
*
* @var Config
*/
Expand All @@ -28,7 +28,7 @@ public function __construct(\Klarna_Checkout_ConnectorInterface $connector = nul
{
$this->connector = $connector;

// BC. will be removed in 2.x. @use $this->api
// BC. will be removed in 2.x. Use $this->api
$this->apiClass = Config::class;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Payum/Klarna/Checkout/Action/AuthorizeRecurringAction.php
Expand Up @@ -25,7 +25,7 @@ class AuthorizeRecurringAction implements ActionInterface, ApiAwareInterface, Ga
use GatewayAwareTrait;

/**
* BC. will be removed in 2.x. @use $this->api
* @deprecated BC. will be removed in 2.x. Use $this->api
*
* @var Config
*/
Expand All @@ -43,7 +43,7 @@ public function setApi($api)
{
$this->_setApi($api);

// BC. will be removed in 2.x. @use $this->api
// BC. will be removed in 2.x. Use $this->api
$this->config = $this->api;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Payum/Klarna/Invoice/Action/Api/BaseApiAwareAction.php
Expand Up @@ -14,7 +14,7 @@ abstract class BaseApiAwareAction implements ApiAwareInterface, ActionInterface
}

/**
* BC. will be removed in 2.x. @use $this->api
* @deprecated BC. will be removed in 2.x. Use $this->api
*
* @var Config
*/
Expand Down Expand Up @@ -44,7 +44,7 @@ public function setApi($api)
{
$this->_setApi($api);

// BC. will be removed in 2.x. @use $this->api
// BC. will be removed in 2.x. Use $this->api
$this->config = $this->api;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/CreateChargeAction.php
Expand Up @@ -22,7 +22,7 @@ class CreateChargeAction implements ActionInterface, ApiAwareInterface
use GatewayAwareTrait;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/CreateCustomerAction.php
Expand Up @@ -26,7 +26,7 @@ class CreateCustomerAction implements ActionInterface, ApiAwareInterface, Gatewa
use GatewayAwareTrait;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/CreatePlanAction.php
Expand Up @@ -26,7 +26,7 @@ class CreatePlanAction implements ActionInterface, GatewayAwareInterface, ApiAwa
use GatewayAwareTrait;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/CreateSubscriptionAction.php
Expand Up @@ -23,7 +23,7 @@ class CreateSubscriptionAction implements ActionInterface, ApiAwareInterface
}

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/CreateTokenAction.php
Expand Up @@ -22,7 +22,7 @@ class CreateTokenAction implements ActionInterface, GatewayAwareInterface, ApiAw
use GatewayAwareTrait;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Stripe/Action/Api/ObtainTokenAction.php
Expand Up @@ -32,7 +32,7 @@ class ObtainTokenAction implements ActionInterface, GatewayAwareInterface, ApiAw
protected $templateName;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down
Expand Up @@ -27,7 +27,7 @@ class ObtainTokenForCreditCardAction implements ActionInterface, GatewayAwareInt
use GatewayAwareTrait;

/**
* BC will be removed in 2.x. @Use $this->api
* @deprecated BC will be removed in 2.x. Use $this->api
*
* @var Keys
*/
Expand Down

0 comments on commit 96123fd

Please sign in to comment.