Skip to content

Commit

Permalink
Coding standard fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marekrzytki committed May 17, 2024
1 parent c5855d0 commit db5761b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Behat/Context/Ui/EmailTemplateContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
use Behat\Behat\Context\Context;
use Sylius\Behat\Service\Checker\EmailCheckerInterface;
use Sylius\Behat\Service\SharedStorageInterface;
use Sylius\Bundle\CoreBundle\SyliusCoreBundle;
use Sylius\Component\Core\Model\CustomerInterface;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Model\ShipmentInterface;
use Sylius\Component\Core\Model\ShippingMethodInterface;
use Webmozart\Assert\Assert;
use Sylius\Bundle\CoreBundle\SyliusCoreBundle;

final class EmailTemplateContext implements Context
{
Expand Down Expand Up @@ -154,6 +154,7 @@ public function numberOfEmailsShouldBeSentToDependingOnSyliusVersion(string $rec
{
$count = 1;

/** @phpstan-ignore-next-line */
if (13 !== (int) SyliusCoreBundle::MINOR_VERSION) {
$count = 2;
}
Expand Down

0 comments on commit db5761b

Please sign in to comment.