Completed
Push — master ( 04e1ec...4c4c73 )
by Tim
04:51 queued 01:43
created
Classes/Service/Url/Typo3Route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $parts = GeneralUtility::trimExplode('-', $value, true);
46 46
 
47
-        return (int) \array_pop($parts);
47
+        return (int)\array_pop($parts);
48 48
     }
49 49
 
50 50
     /**
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function id2alias($value): string
58 58
     {
59
-        $alias = $this->getIndexBase((int) $value);
59
+        $alias = $this->getIndexBase((int)$value);
60 60
 
61 61
         // Because the Slug helper do not remove "/" chars
62 62
         $alias = \str_replace('/', '-', $alias);
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
         $slugHelper = GeneralUtility::makeInstance(SlugHelper::class, 'pages', 'uid', []);
65 65
         $alias = $slugHelper->sanitize($alias);
66 66
 
67
-        return (string) $alias;
67
+        return (string)$alias;
68 68
     }
69 69
 }
Please login to merge, or discard this patch.