@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\AdminBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\TaxonomyBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\TaxonomyBundle\Doctrine\ORM; |
15 | 15 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * {@inheritdoc} |
28 | 28 | */ |
29 | - public function findChildren(string $parentCode, ?string $locale = null): array |
|
29 | + public function findChildren(string $parentCode, ?string $locale = null) : array |
|
30 | 30 | { |
31 | 31 | return $this->createTranslationBasedQueryBuilder($locale) |
32 | 32 | ->addSelect('child') |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * {@inheritdoc} |
92 | 92 | */ |
93 | - public function findByNamePart(string $phrase, ?string $locale = null): array |
|
93 | + public function findByNamePart(string $phrase, ?string $locale = null) : array |
|
94 | 94 | { |
95 | 95 | return $this->createTranslationBasedQueryBuilder($locale) |
96 | 96 | ->andWhere('translation.name LIKE :name') |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * |
114 | 114 | * @return QueryBuilder |
115 | 115 | */ |
116 | - private function createTranslationBasedQueryBuilder(?string $locale): QueryBuilder |
|
116 | + private function createTranslationBasedQueryBuilder(?string $locale) : QueryBuilder |
|
117 | 117 | { |
118 | 118 | $queryBuilder = $this->createQueryBuilder('o') |
119 | 119 | ->addSelect('translation') |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\Remover; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\PayumBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\PayumBundle\Action\Paypal\ExpressCheckout; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\FixturesBundle\DependencyInjection; |
15 | 15 |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 'translation' => [ |
41 | 41 | 'classes' => [ |
42 | 42 | 'model' => BookTranslation::class, |
43 | - ], |
|
43 | + ], |
|
44 | 44 | ], |
45 | 45 | ], |
46 | 46 | ], |
@@ -77,10 +77,10 @@ discard block |
||
77 | 77 | $this->setParameter('kernel.bundles', []); |
78 | 78 | |
79 | 79 | $this->load([ |
80 | - 'translation' => [ |
|
81 | - 'locale_provider' => 'test.custom_locale_provider', |
|
82 | - ], |
|
83 | - ]); |
|
80 | + 'translation' => [ |
|
81 | + 'locale_provider' => 'test.custom_locale_provider', |
|
82 | + ], |
|
83 | + ]); |
|
84 | 84 | |
85 | 85 | $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); |
86 | 86 | } |