phpstan errors & onlinepayment extended
This commit is contained in:
@@ -95,7 +95,7 @@ class SberPaymentOrder extends Model implements HasMedia
|
||||
/**
|
||||
* Required files
|
||||
*
|
||||
* @return array<array<string, bool|string>>
|
||||
* @return array<int, array<string, bool|string>>
|
||||
*/
|
||||
public static function reciverFiles(): array
|
||||
{
|
||||
@@ -145,6 +145,8 @@ class SberPaymentOrder extends Model implements HasMedia
|
||||
|
||||
/**
|
||||
* Sender files
|
||||
*
|
||||
* @return array<int, array<string, bool|string>>
|
||||
*/
|
||||
public static function senderFiles(): array
|
||||
{
|
||||
@@ -213,6 +215,8 @@ class SberPaymentOrder extends Model implements HasMedia
|
||||
|
||||
/**
|
||||
* Payment itmes
|
||||
*
|
||||
* @return HasMany<SberPaymentOrderItem>
|
||||
*/
|
||||
public function paymentItems(): HasMany
|
||||
{
|
||||
|
||||
@@ -38,6 +38,8 @@ class SberPaymentOrderItem extends Model implements HasMedia
|
||||
|
||||
/**
|
||||
* Parent order
|
||||
*
|
||||
* @return BelongsTo<SberPaymentOrder, SberPaymentOrderItem>
|
||||
*/
|
||||
public function parent(): BelongsTo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user