Skip to content

Commit ca37691

Browse files
authored
Insight fixes (#57)
1 parent 12be1a0 commit ca37691

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Command/DownloadCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\Console\Input\InputArgument;
1616
use Symfony\Component\Console\Input\InputInterface;
1717
use Symfony\Component\Console\Output\OutputInterface;
18-
use Translation\Bundle\Model\Configuration;
1918
use Translation\Bundle\Service\StorageService;
2019

2120
/**

DependencyInjection/TranslationExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private function enableEditInPlace(ContainerBuilder $container, array $config)
160160
{
161161
$name = $config['edit_in_place']['config_name'];
162162

163-
if ($name !== 'default' and !isset($config['configs'][$name])) {
163+
if ($name !== 'default' && !isset($config['configs'][$name])) {
164164
throw new InvalidArgumentException(sprintf('There is no config named "%s".', $name));
165165
}
166166

0 commit comments

Comments
 (0)