phpstan errors & onlinepayment extended
This commit is contained in:
1 parent
d726bf9f91
commit
d85fca1f09
6 files changed
+38
-59
No files matched your search
@@ -95,7 +95,7 @@ public function branch(): BelongsTo
|
||||
/**
|
||||
* Required files
|
||||
*
|
||||
* @return array<array<string, bool|string>>
|
||||
* @return array<int, array<string, bool|string>>
|
||||
*/
|
||||
public static function reciverFiles(): array
|
||||
{
|
||||
@@ -145,6 +145,8 @@ public static function reciverFiles(): array
|
||||
|
||||
/**
|
||||
* Sender files
|
||||
*
|
||||
* @return array<int, array<string, bool|string>>
|
||||
*/
|
||||
public static function senderFiles(): array
|
||||
{
|
||||
@@ -213,6 +215,8 @@ public function panelUrl(string $type = 'index'): string
|
||||
|
||||
/**
|
||||
* 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