Passed
Push — v3 ( 30f735...b1a317 )
by Andrew
46:49 queued 28:39
created
src/helpers/DynamicMeta.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         if ($pageInfo !== null && $pageInfo->currentPage !== null) {
78 78
             // Let the meta containers know that this page is paginated
79
-            Seomatic::$plugin->metaContainers->paginationPage = (string)$pageInfo->currentPage;
79
+            Seomatic::$plugin->metaContainers->paginationPage = (string) $pageInfo->currentPage;
80 80
             // Set the current page
81 81
             $url = $pageInfo->getPageUrl($pageInfo->currentPage);
82 82
             if (!empty($url)) {
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
         if ($lastElement && $element) {
359 359
             if ($lastElement->uri !== '__home__' && $element->uri) {
360 360
                 $path = $lastElement->uri;
361
-                $segments = array_values(array_filter(explode('/', $path), function ($segment) {
361
+                $segments = array_values(array_filter(explode('/', $path), function($segment) {
362 362
                     return $segment !== '';
363 363
                 }));
364 364
             }
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
                     $element = $elements->getElementByUri($url, $site->id, false);
529 529
                 }
530 530
                 if ($element !== null) {
531
-                    if (isset($element->enabledForSite) && !(bool)$element->enabledForSite) {
531
+                    if (isset($element->enabledForSite) && !(bool) $element->enabledForSite) {
532 532
                         $includeUrl = false;
533 533
                     }
534 534
                     /** @var MetaBundle $metaBundle */
Please login to merge, or discard this patch.