Skip to content

Commit 7b1ed17

Browse files
authored
Merge pull request #901 from bavix/phpstan-fix
phpstan fix
2 parents 215f402 + f6a7b84 commit 7b1ed17

19 files changed

+26
-17
lines changed

src/Models/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Transaction extends Model
4646
final public const TYPE_WITHDRAW = 'withdraw';
4747

4848
/**
49-
* @var string[]
49+
* @var array<int, string>
5050
*/
5151
protected $fillable = [
5252
'payable_type',

src/Models/Transfer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Transfer extends Model
4949
final public const STATUS_GIFT = 'gift';
5050

5151
/**
52-
* @var string[]
52+
* @var array<int, string>
5353
*/
5454
protected $fillable = [
5555
'status',

src/Models/Wallet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Wallet extends Model implements Customer, WalletFloat, Confirmable, Exchan
5757
use SoftDeletes;
5858

5959
/**
60-
* @var string[]
60+
* @var array<int, string>
6161
*/
6262
protected $fillable = [
6363
'holder_type',

tests/Infra/Models/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class Item extends Model implements ProductLimitedInterface
2929
use HasWallets;
3030

3131
/**
32-
* @var string[]
32+
* @var array<int, string>
3333
*/
3434
protected $fillable = ['name', 'quantity', 'price'];
3535

tests/Infra/Models/ItemDiscount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class ItemDiscount extends Model implements ProductLimitedInterface, Disco
2424
use HasWallet;
2525

2626
/**
27-
* @var string[]
27+
* @var array<int, string>
2828
*/
2929
protected $fillable = ['name', 'quantity', 'price'];
3030

tests/Infra/Models/ItemDiscountTax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ItemDiscountTax extends Model implements ProductLimitedInterface, Di
2525
use HasWallet;
2626

2727
/**
28-
* @var string[]
28+
* @var array<int, string>
2929
*/
3030
protected $fillable = ['name', 'quantity', 'price'];
3131

tests/Infra/Models/ItemMaxTax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class ItemMaxTax extends Model implements ProductLimitedInterface, Maximal
2424
use HasWallet;
2525

2626
/**
27-
* @var string[]
27+
* @var array<int, string>
2828
*/
2929
protected $fillable = ['name', 'quantity', 'price'];
3030

tests/Infra/Models/ItemMeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ItemMeta extends Model implements ProductLimitedInterface
2525
use HasWallets;
2626

2727
/**
28-
* @var string[]
28+
* @var array<int, string>
2929
*/
3030
protected $fillable = ['name', 'quantity', 'price'];
3131

tests/Infra/Models/ItemMinTax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class ItemMinTax extends Model implements ProductLimitedInterface, Minimal
2424
use HasWallet;
2525

2626
/**
27-
* @var string[]
27+
* @var array<int, string>
2828
*/
2929
protected $fillable = ['name', 'quantity', 'price'];
3030

tests/Infra/Models/ItemMultiPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ItemMultiPrice extends Model implements ProductLimitedInterface
2525
use HasWallet;
2626

2727
/**
28-
* @var string[]
28+
* @var array<int, string>
2929
*/
3030
protected $fillable = ['name', 'quantity', 'price', 'prices'];
3131

0 commit comments

Comments
 (0)