@@ -152,9 +152,9 @@ |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @param object $obj |
|
155 | + * @param AddressInterface $obj |
|
156 | 156 | * @param string $property |
157 | - * @return mixed|null |
|
157 | + * @return string |
|
158 | 158 | */ |
159 | 159 | protected function getValue($obj, $property) |
160 | 160 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | 6 | use Symfony\Component\PropertyAccess\PropertyAccess; |
7 | 7 | use Symfony\Component\PropertyAccess\PropertyAccessor; |
8 | - |
|
9 | 8 | use Oro\Bundle\LocaleBundle\Model\AddressInterface; |
10 | 9 | use Oro\Bundle\LocaleBundle\Model\LocaleSettings; |
11 | 10 | use Oro\Bundle\LocaleBundle\DependencyInjection\Configuration as LocaleConfiguration; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\LocaleBundle\Formatter; |
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\LocaleBundle\Model\LocaleSettings; |
8 | 7 | |
9 | 8 | class DateTimeFormatter |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\LocaleBundle\Model; |
4 | 4 | |
5 | 5 | use Symfony\Component\Intl\Intl; |
6 | - |
|
7 | 6 | use Oro\Bundle\ConfigBundle\Config\ConfigManager; |
8 | 7 | use Oro\Bundle\LocaleBundle\DependencyInjection\Configuration as LocaleConfiguration; |
9 | 8 |
@@ -443,7 +443,7 @@ |
||
443 | 443 | * @param array $codes |
444 | 444 | * @param string $locale |
445 | 445 | * |
446 | - * @return array |
|
446 | + * @return string[] |
|
447 | 447 | */ |
448 | 448 | public function getLocalesByCodes(array $codes, $locale = 'en') |
449 | 449 | { |
@@ -7,11 +7,8 @@ |
||
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
9 | 9 | use Symfony\Component\HttpKernel\Bundle\BundleInterface; |
10 | - |
|
11 | 10 | use Doctrine\Common\DataFixtures\Executor\ORMExecutor; |
12 | - |
|
13 | 11 | use Oro\Bundle\MigrationBundle\Migration\Loader\DataFixturesLoader; |
14 | -use Oro\Bundle\SearchBundle\EventListener\OrmIndexListener; |
|
15 | 12 | |
16 | 13 | class LoadDataFixturesCommand extends ContainerAwareCommand |
17 | 14 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Symfony\Component\Console\Input\InputInterface; |
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
9 | - |
|
10 | 9 | use Oro\Component\Log\OutputLogger; |
11 | 10 | use Oro\Bundle\EntityConfigBundle\Tools\CommandExecutor; |
12 | 11 | use Oro\Bundle\MigrationBundle\Migration\Loader\MigrationsLoader; |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\MigrationBundle\Migration\Loader; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
8 | 7 | use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader; |
9 | - |
|
10 | 8 | use Oro\Bundle\MigrationBundle\Entity\DataFixture; |
11 | 9 | use Oro\Bundle\MigrationBundle\Migration\Sorter\DataFixturesSorter; |
12 | 10 | use Oro\Bundle\MigrationBundle\Migration\UpdateDataFixturesFixture; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Symfony\Component\HttpKernel\Bundle\BundleInterface; |
11 | 11 | use Symfony\Component\HttpKernel\KernelInterface; |
12 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
13 | - |
|
14 | 13 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
15 | 14 | use Oro\Bundle\MigrationBundle\Migration\MigrationState; |
16 | 15 | use Oro\Bundle\MigrationBundle\Migration\Installation; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Doctrine\DBAL\Platforms\AbstractPlatform; |
7 | 7 | use Doctrine\DBAL\Schema\Column; |
8 | 8 | use Doctrine\DBAL\Types\Type; |
9 | - |
|
10 | 9 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
11 | 10 | |
12 | 11 | class SchemaDumperExtension extends \Twig_Extension |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\NavigationBundle\ContentProvider; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Request; |
6 | - |
|
7 | 6 | use Oro\Bundle\UIBundle\ContentProvider\AbstractContentProvider; |
8 | 7 | |
9 | 8 | class NavigationElementsContentProvider extends AbstractContentProvider |