@@ -44,7 +44,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |