phpstan 5 errors fixed
This commit is contained in:
@@ -332,7 +332,10 @@ class NovaSberPaymentOrder extends Resource
|
||||
->icon('credit-card')
|
||||
->sole()
|
||||
->canSee(function ($request) {
|
||||
if (in_array($this->resource->status, [
|
||||
/** @var \App\Modules\SberPaymentOrder\Models\SberPaymentOrder $resource */
|
||||
$resource = $this->resource;
|
||||
|
||||
if (in_array($resource->status, [
|
||||
OrderRepo::PENDING,
|
||||
OrderRepo::CANCELLED,
|
||||
])) {
|
||||
|
||||
Reference in New Issue
Block a user