Skip to content

Commit 72fb61c

Browse files
committed
fix phpstan
1 parent 815a5b5 commit 72fb61c

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

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

tests/Infra/Models/ItemTax.php

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

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

tests/Infra/Models/ItemWallet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ItemWallet 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/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class Manager extends Model implements Wallet
1919
use HasWallet;
2020

2121
/**
22-
* @var string[]
22+
* @var array<int,string>
2323
*/
2424
protected $fillable = ['name', 'email'];
2525
}

0 commit comments

Comments
 (0)