bavix/laravel-wallet

View on GitHub
src/Traits/HasGift.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method gift has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function gift(Wallet $to, ProductInterface $product, bool $force = false): Transfer
    {
        // Execute the gift operation atomically
        $atomicService = app(AtomicServiceInterface::class);
        $mathService = app(MathServiceInterface::class);
Severity: Major
Found in src/Traits/HasGift.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status