Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 19, 2024
1 parent ef9c25b commit 78e399a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ parameters:
path: src/FormWidgets/PaymentAttempts.php

-
message: "#^Access to an undefined property Igniter\\\\Cart\\\\Models\\\\Order\\:\\:\\$payment_method\\.$#"
message: "#^Access to an undefined property Igniter\\\\Flame\\\\Database\\\\Model\\:\\:\\$payment_method\\.$#"
count: 1
path: src/FormWidgets/PaymentAttempts.php

Expand Down
5 changes: 0 additions & 5 deletions src/FormWidgets/PaymentAttempts.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ class PaymentAttempts extends BaseFormWidget
use FormModelWidget;
use ValidatesForm;

/**
* @var Order Form model object.
*/
public ?Model $model = null;

public $form;

public $columns;
Expand Down

0 comments on commit 78e399a

Please sign in to comment.