@@ -144,7 +144,7 @@ |
||
| 144 | 144 | // IteratorAggregate implementation |
| 145 | 145 | /// |
| 146 | 146 | |
| 147 | - public function getIterator(): \Traversable|\ArrayIterator |
|
| 147 | + public function getIterator(): \Traversable | \ArrayIterator |
|
| 148 | 148 | { |
| 149 | 149 | return new \ArrayIterator($this->data); |
| 150 | 150 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * Get the current File object. |
| 115 | 115 | */ |
| 116 | - public function current(): File|Folder |
|
| 116 | + public function current(): File | Folder |
|
| 117 | 117 | { |
| 118 | 118 | /** @var \SplFileInfo $current */ |
| 119 | 119 | $current = parent::current(); |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | return new File($path); |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - public function getChildren(): FileExplorer|\RecursiveFilterIterator|null |
|
| 130 | + public function getChildren(): FileExplorer | \RecursiveFilterIterator | null |
|
| 131 | 131 | { |
| 132 | 132 | $explorer = new self( |
| 133 | 133 | $this->getInnerIterator()->getChildren(), $this->includes, $this->excludes, $this->flags |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | return __::get($this->configuration, 'twig.autoescape'); |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | - public function getRedirectTemplate(): bool|string |
|
| 179 | + public function getRedirectTemplate(): bool | string |
|
| 180 | 180 | { |
| 181 | 181 | return __::get($this->configuration, 'templates.redirect'); |
| 182 | 182 | } |