@@ -177,6 +177,9 @@ |
||
177 | 177 | return ArticleEventInterface::PAGEVIEW_SOURCE_EXTERNAL; |
178 | 178 | } |
179 | 179 | |
180 | + /** |
|
181 | + * @return string |
|
182 | + */ |
|
180 | 183 | private function getFragmentFromUrl(string $url, string $fragment): ?string |
181 | 184 | { |
182 | 185 | $fragments = \parse_url($url); |
@@ -47,8 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->data = [ |
49 | 49 | 'currentPage' => $this->context->getCurrentPage() instanceof MetaInterface ? |
50 | - $this->getRouteData($this->context->getCurrentPage()->getValues()) : |
|
51 | - [], |
|
50 | + $this->getRouteData($this->context->getCurrentPage()->getValues()) : [], |
|
52 | 51 | 'registeredMeta' => $this->context->getRegisteredMeta(), |
53 | 52 | ]; |
54 | 53 | } |