@@ -42,7 +42,7 @@ |
||
42 | 42 | * |
43 | 43 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If number of params is incorrect |
44 | 44 | * |
45 | - * @return \Netgen\Bundle\OpenGraphBundle\MetaTag\Item[] |
|
45 | + * @return Item[] |
|
46 | 46 | */ |
47 | 47 | public function getMetaTags($tagName, array $params = array()) |
48 | 48 | { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | return array( |
94 | 94 | new FactoryRuntimeLoader( |
95 | 95 | array( |
96 | - NetgenOpenGraphRuntime::class => function () { |
|
96 | + NetgenOpenGraphRuntime::class => function() { |
|
97 | 97 | return $this->runtime; |
98 | 98 | }, |
99 | 99 | ) |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $processor = new ConfigurationProcessor($container, 'netgen_open_graph'); |
48 | 48 | $processor->mapConfig( |
49 | 49 | $config, |
50 | - function ($scopeSettings, $currentScope, ContextualizerInterface $contextualizer) { |
|
50 | + function($scopeSettings, $currentScope, ContextualizerInterface $contextualizer) { |
|
51 | 51 | foreach ($scopeSettings as $key => $value) { |
52 | 52 | $contextualizer->setContextualParameter($key, $currentScope, $value); |
53 | 53 | } |
@@ -52,13 +52,11 @@ |
||
52 | 52 | $metaTags = array(); |
53 | 53 | |
54 | 54 | $allHandlers = $this->configResolver->hasParameter('global_handlers', 'netgen_open_graph') ? |
55 | - $this->configResolver->getParameter('global_handlers', 'netgen_open_graph') : |
|
56 | - array(); |
|
55 | + $this->configResolver->getParameter('global_handlers', 'netgen_open_graph') : array(); |
|
57 | 56 | |
58 | 57 | $contentType = $this->contentTypeService->loadContentType($content->contentInfo->contentTypeId); |
59 | 58 | $contentTypeHandlers = $this->configResolver->hasParameter('content_type_handlers', 'netgen_open_graph') ? |
60 | - $this->configResolver->getParameter('content_type_handlers', 'netgen_open_graph') : |
|
61 | - array(); |
|
59 | + $this->configResolver->getParameter('content_type_handlers', 'netgen_open_graph') : array(); |
|
62 | 60 | |
63 | 61 | if (isset($contentTypeHandlers[$contentType->identifier])) { |
64 | 62 | $allHandlers = array_merge( |