@@ -47,19 +47,19 @@ |
||
| 47 | 47 | $confProto = $configuration->prototype('array'); |
| 48 | 48 | $confProto->children()->scalarNode('ttl')->isRequired(); |
| 49 | 49 | $confProto->beforeNormalization() |
| 50 | - ->ifTrue( |
|
| 51 | - function ($v) { |
|
| 52 | - return is_int($v); |
|
| 53 | - } |
|
| 54 | - ) |
|
| 55 | - ->then( |
|
| 56 | - function ($v) { |
|
| 57 | - return ['ttl' => $v]; |
|
| 58 | - } |
|
| 59 | - ); |
|
| 50 | + ->ifTrue( |
|
| 51 | + function ($v) { |
|
| 52 | + return is_int($v); |
|
| 53 | + } |
|
| 54 | + ) |
|
| 55 | + ->then( |
|
| 56 | + function ($v) { |
|
| 57 | + return ['ttl' => $v]; |
|
| 58 | + } |
|
| 59 | + ); |
|
| 60 | 60 | $confProto->children()->variableNode('extra') |
| 61 | - ->info('Extra data for entity cache configuration') |
|
| 62 | - ->defaultValue([]); |
|
| 61 | + ->info('Extra data for entity cache configuration') |
|
| 62 | + ->defaultValue([]); |
|
| 63 | 63 | $confProto->ignoreExtraKeys(false); |
| 64 | 64 | $confProto->canBeEnabled(); |
| 65 | 65 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | if ($this->isConfigEnabled($container, $config['metadata_cache'])) { |
| 44 | 44 | $container->getDefinition('bankiru_api.metadata_factory') |
| 45 | - ->addMethodCall('setCacheDriver', [new Reference($config['metadata_cache']['service'])]); |
|
| 45 | + ->addMethodCall('setCacheDriver', [new Reference($config['metadata_cache']['service'])]); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | $this->processSensioExtraConfig($container, $loader); |