Skip to content

Commit a64588e

Browse files
committed
fixed CS
1 parent 707c1b4 commit a64588e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Tests/Transport/Sender/SendersLocatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ private function createContainer(array $senders)
9595
$container = $this->createMock(ContainerInterface::class);
9696
$container->expects($this->any())
9797
->method('has')
98-
->willReturnCallback(function($id) use ($senders) {
98+
->willReturnCallback(function ($id) use ($senders) {
9999
return isset($senders[$id]);
100100
});
101101
$container->expects($this->any())
102102
->method('get')
103-
->willReturnCallback(function($id) use ($senders) {
103+
->willReturnCallback(function ($id) use ($senders) {
104104
return $senders[$id];
105105
});
106106

Transport/Doctrine/Connection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public static function buildConfiguration($dsn, array $options = [])
103103
* @param int $delay The delay in milliseconds
104104
*
105105
* @return string The inserted id
106+
*
106107
* @throws \Doctrine\DBAL\DBALException
107108
*/
108109
public function send(string $body, array $headers, int $delay = 0): string

Transport/Doctrine/DoctrineTransport.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public function find($id): ?Envelope
8484
return ($this->receiver ?? $this->getReceiver())->find($id);
8585
}
8686

87-
8887
/**
8988
* {@inheritdoc}
9089
*/

Transport/Sender/SendersLocator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ class SendersLocator implements SendersLocatorInterface
3333
private $sendAndHandle;
3434

3535
/**
36-
* @param string[][] $sendersMap An array, keyed by "type", set to an array of sender aliases
36+
* @param string[][] $sendersMap An array, keyed by "type", set to an array of sender aliases
3737
* @param ContainerInterface $sendersLocator Locator of senders, keyed by sender alias
38-
* @param bool[] $sendAndHandle
38+
* @param bool[] $sendAndHandle
3939
*/
4040
public function __construct(array $sendersMap, /*ContainerInterface*/ $sendersLocator = null, array $sendAndHandle = [])
4141
{
4242
$this->sendersMap = $sendersMap;
4343

44-
if (is_array($sendersLocator) || null === $sendersLocator) {
44+
if (\is_array($sendersLocator) || null === $sendersLocator) {
4545
@trigger_error(sprintf('"%s::__construct()" requires a "%s" as 2nd argument. Not doing so is deprecated since Symfony 4.3 and will be required in 5.0.', __CLASS__, ContainerInterface::class), E_USER_DEPRECATED);
4646
// "%s" requires a "%s" as 2nd argument. Not doing so is deprecated since Symfony 4.3 and will be required in 5.0.'
4747
$this->sendersLocator = new ServiceLocator([]);

0 commit comments

Comments
 (0)