Skip to content

Commit

Permalink
Apply coding standard changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon authored and github-actions[bot] committed Mar 2, 2024
1 parent 4b91817 commit 6c79560
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Classes/DependencyInjection/Compiler/T3MessengerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
use Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpTransportFactory;
use Symfony\Component\Messenger\Bridge\Beanstalkd\Transport\BeanstalkdTransportFactory;
use Symfony\Component\Messenger\Bridge\Redis\Transport\RedisTransportFactory;

use Symfony\Component\Messenger\MessageBus;
use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Transport\Serialization\SerializerInterface;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Transport/DoctrineTransportFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private function getConnectionByName(string $connectionName): \Doctrine\DBAL\Con
}

$connectionParams = $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections'][$connectionName] ?? [];
if (!is_array($connectionParams) || $connectionParams === []) {
if (! is_array($connectionParams) || $connectionParams === []) {
throw new TransportException(
'The requested database connection named "' . $connectionName . '" has not been configured.',
);
Expand Down

0 comments on commit 6c79560

Please sign in to comment.