Skip to content

Commit

Permalink
Code style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Oct 23, 2024
1 parent dea00bf commit 5fb64e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/EventListener/WalletTransactionsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
use Doctrine\ORM\Event\PostPersistEventArgs;
use Doctrine\ORM\Events;

#[AsEntityListener(event: Events::postPersist, method: 'processTransaction', entity: AccountingTransaction::class)]
#[AsEntityListener(
event: Events::postPersist,
method: 'processTransaction',
entity: AccountingTransaction::class
)]
final class WalletTransactionsListener
{
public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/SupportedChargeTypesValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class SupportedChargeTypesValidator extends ConstraintValidator
{
public function __construct(
private GatewayLocator $gatewayLocator
private GatewayLocator $gatewayLocator,
) {}

public function validate(mixed $value, Constraint $constraint): void
Expand Down

0 comments on commit 5fb64e1

Please sign in to comment.