Skip to content

Commit 94a2b40

Browse files
committed
CS fixes
1 parent e63a489 commit 94a2b40

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ parameters:
1818

1919
ignoreErrors:
2020
- '/Property Sylius\\Component\\Mailer\\Model\\Email\:\:\$id is never written\, only read\./'
21-
- '/PHPDoc tag \@param references unknown parameter\: \$bccRecipients/'
22-
- '/PHPDoc tag \@param references unknown parameter\: \$ccRecipients/'

src/Component/spec/Sender/SenderSpec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
use Sylius\Component\Mailer\Provider\EmailProviderInterface;
2222
use Sylius\Component\Mailer\Renderer\Adapter\AdapterInterface as RendererAdapterInterface;
2323
use Sylius\Component\Mailer\Renderer\RenderedEmail;
24-
use Sylius\Component\Mailer\Sender\Adapter\AdapterInterface as SenderAdapterInterface;;
25-
use Sylius\Component\Mailer\Sender\Adapter\CcAwareAdapterInterface as CcAwareSenderAdapterInterface;;
24+
use Sylius\Component\Mailer\Sender\Adapter\AdapterInterface as SenderAdapterInterface;
25+
use Sylius\Component\Mailer\Sender\Adapter\CcAwareAdapterInterface as CcAwareSenderAdapterInterface;
2626

2727
final class SenderSpec extends ObjectBehavior
2828
{
@@ -99,7 +99,7 @@ function it_sends_a_modified_email_with_cc_and_bcc_through_the_adapter(
9999
EmailProviderInterface $provider,
100100
RenderedEmail $renderedEmail,
101101
RendererAdapterInterface $rendererAdapter,
102-
SenderAdapterInterface $senderAdapter,
102+
CcAwareSenderAdapterInterface $senderAdapter,
103103
DefaultSettingsProviderInterface $defaultSettingsProvider,
104104
EmailModifierInterface $emailModifier,
105105
): void {

0 commit comments

Comments
 (0)