@@ -5,13 +5,13 @@ |
||
| 5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
| 6 | 6 | use Symplify\EasyCodingStandard\ValueObject\Option; |
| 7 | 7 | |
| 8 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
| 8 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
| 9 | 9 | $containerConfigurator->import(__DIR__ . '/vendor/umbrellio/code-style-php/umbrellio-cs.php'); |
| 10 | 10 | |
| 11 | 11 | $parameters = $containerConfigurator->parameters(); |
| 12 | 12 | |
| 13 | 13 | $parameters->set(Option::CACHE_DIRECTORY, '.ecs_cache'); |
| 14 | - $parameters->set(Option::FILE_EXTENSIONS, ['php']); |
|
| 14 | + $parameters->set(Option::FILE_EXTENSIONS, [ 'php' ]); |
|
| 15 | 15 | |
| 16 | - $parameters->set(Option::PATHS, [__DIR__ . '/src', __DIR__ . '/tests']); |
|
| 16 | + $parameters->set(Option::PATHS, [ __DIR__ . '/src', __DIR__ . '/tests' ]); |
|
| 17 | 17 | }; |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | $this->tracer = $tracer; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function create(string $operationName, array $carrier = [], ?string $referenceType = null): Span |
|
| 21 | + public function create(string $operationName, array $carrier = [ ], ?string $referenceType = null): Span |
|
| 22 | 22 | { |
| 23 | 23 | return $this->tracer->startActiveSpan( |
| 24 | 24 | $operationName, |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $baseOptions, |
| 42 | 42 | $spanContext ? [ |
| 43 | 43 | 'references' => new Reference($referenceType, $spanContext), |
| 44 | - ] : [] |
|
| 44 | + ] : [ ] |
|
| 45 | 45 | ); |
| 46 | 46 | } |
| 47 | 47 | } |