Skip to content

Commit

Permalink
PHPStan feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt75 committed Jun 26, 2023
1 parent 0ebdc32 commit acef0b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Event/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
class Event extends ComponentEvent
{
}
} else {
} elseif (class_exists(ContractEvent::class)) {
// @phpstan-ignore-next-line
class Event extends ContractEvent /* @phpstan-ignore-line */
{
Expand Down
1 change: 0 additions & 1 deletion tests/phpstan/phpstan-PS-1.7.neon
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ parameters:
- '#Parameter \#1 \$id of class Currency constructor expects null, int given.#'
- '#Parameter \#1 \$amount_paid of method OrderCore::addOrderPayment\(\) expects float, string given.#'
- '#Parameter \#3 \$amount_paid of method PaymentModuleCore::validateOrder\(\) expects float, string given.#'
- '#Class PrestaShop\\Module\\PrestashopCheckout\\Event\\Event extends unknown class Symfony\\Contracts\\EventDispatcher\\Event.#'

level: 5

0 comments on commit acef0b0

Please sign in to comment.