Skip to content

Commit 12c8eaa

Browse files
committed
update docs
1 parent 6a71b16 commit 12c8eaa

File tree

16 files changed

+26
-26
lines changed

16 files changed

+26
-26
lines changed

docs/basic-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Item extends Model implements Product
6262
return true;
6363
}
6464

65-
public function getAmountProduct(Customer $customer): int
65+
public function getAmountProduct(Customer $customer)
6666
{
6767
return 100;
6868
}

docs/cart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return round($this->price * 100);
4242
}

docs/exchange.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class MyRateService extends \Bavix\Wallet\Simple\Rate
4242
],
4343
];
4444

45-
protected function rate(Wallet $wallet): float
45+
protected function rate(Wallet $wallet)
4646
{
4747
$from = app(WalletService::class)->getWallet($this->withCurrency);
4848
$to = app(WalletService::class)->getWallet($wallet);
@@ -54,7 +54,7 @@ class MyRateService extends \Bavix\Wallet\Simple\Rate
5454
);
5555
}
5656

57-
public function convertTo(Wallet $wallet): float
57+
public function convertTo(Wallet $wallet)
5858
{
5959
return parent::convertTo($wallet) * $this->rate($wallet);
6060
}

docs/gift.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return 100;
4242
}

docs/pay-free.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return 100;
4242
}

docs/payment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return 100;
4242
}

docs/refund.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return 100;
4242
}

docs/ru/basic-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Item extends Model implements Product
6565
return true;
6666
}
6767

68-
public function getAmountProduct(Customer $customer): int
68+
public function getAmountProduct(Customer $customer)
6969
{
7070
return 100;
7171
}

docs/ru/cart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Item extends Model implements Product
3636
return true;
3737
}
3838

39-
public function getAmountProduct(Customer $customer): int
39+
public function getAmountProduct(Customer $customer)
4040
{
4141
return round($this->price * 100);
4242
}

docs/ru/exchange.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MyRateService extends \Bavix\Wallet\Simple\Rate
4141
],
4242
];
4343

44-
protected function rate(Wallet $wallet): float
44+
protected function rate(Wallet $wallet)
4545
{
4646
$from = app(WalletService::class)->getWallet($this->withCurrency);
4747
$to = app(WalletService::class)->getWallet($wallet);
@@ -53,7 +53,7 @@ class MyRateService extends \Bavix\Wallet\Simple\Rate
5353
);
5454
}
5555

56-
public function convertTo(Wallet $wallet): float
56+
public function convertTo(Wallet $wallet)
5757
{
5858
return parent::convertTo($wallet) * $this->rate($wallet);
5959
}

0 commit comments

Comments
 (0)