Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jleagle committed Feb 6, 2025
1 parent b8dce2c commit 12d1cea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
6 changes: 3 additions & 3 deletions src/Finance/Chargeback/ChargebackReason.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ class ChargebackReason implements ChargebackReasonInterface

/**
* @param $code
* @param string $descripton
* @param string $description
* @param string $category
*
* @return ChargebackReason
*/
public static function create($code, $descripton = '', $category = ChargebackCategory::OTHER)
public static function create($code, $description = '', $category = ChargebackCategory::OTHER)
{
$reason = new self();
$reason->code = $code;
$reason->description = $descripton;
$reason->description = $description;
$reason->category = $category;
return $reason;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class AmericanExpressChargebackReason extends ChargebackReason
const RSN_FR4 = 'FR4';
const RSN_FR6 = 'FR6';

public static function create($code, $descripton = '', $category = ChargebackCategory::OTHER)
public static function create($code, $description = '', $category = ChargebackCategory::OTHER)
{
$reason = parent::create($code, $descripton, $category);
$reason = parent::create($code, $description, $category);
switch($code)
{
case self::RSN_UA01:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,9 @@ class DiscoverCardChargebackReason extends ChargebackReason
const RSN_UA38 = 'UA38';
const RSN_UA99 = 'UA99';

public static function create(
$code, $descripton = '', $category = ChargebackCategory::OTHER
)
public static function create($code, $description = '', $category = ChargebackCategory::OTHER)
{
$reason = parent::create($code, $descripton, $category);
$reason = parent::create($code, $description, $category);
switch($code)
{
case self::RSN_5:
Expand Down
4 changes: 2 additions & 2 deletions src/Finance/Chargeback/Reasons/MasterCardChargebackReason.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class MasterCardChargebackReason extends ChargebackReason
const RSN_4859 = '4859';
const RSN_4860 = '4860';

public static function create($code, $descripton = '', $category = ChargebackCategory::OTHER)
public static function create($code, $description = '', $category = ChargebackCategory::OTHER)
{
$reason = parent::create($code, $descripton, $category);
$reason = parent::create($code, $description, $category);
switch($code)
{
case self::RSN_4837:
Expand Down
4 changes: 2 additions & 2 deletions src/Finance/Chargeback/Reasons/VisaChargebackReason.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ class VisaChargebackReason extends ChargebackReason
const RSN_85 = '85';
const RSN_90 = '90';

public static function create($code, $descripton = '', $category = ChargebackCategory::OTHER)
public static function create($code, $description = '', $category = ChargebackCategory::OTHER)
{
$reason = parent::create($code, $descripton, $category);
$reason = parent::create($code, $description, $category);
switch($code)
{

Expand Down

0 comments on commit 12d1cea

Please sign in to comment.