@@ -112,18 +112,18 @@ |
||
| 112 | 112 | case '.': |
| 113 | 113 | break; |
| 114 | 114 | |
| 115 | - case '..': |
|
| 116 | - if (empty($parts)) { |
|
| 117 | - throw new LogicException( |
|
| 118 | - 'Path is outside of the defined root, path: [' . $path . ']' |
|
| 119 | - ); |
|
| 120 | - } |
|
| 121 | - array_pop($parts); |
|
| 122 | - break; |
|
| 123 | - |
|
| 124 | - default: |
|
| 125 | - $parts[] = $part; |
|
| 126 | - break; |
|
| 115 | + case '..': |
|
| 116 | + if (empty($parts)) { |
|
| 117 | + throw new LogicException( |
|
| 118 | + 'Path is outside of the defined root, path: [' . $path . ']' |
|
| 119 | + ); |
|
| 120 | + } |
|
| 121 | + array_pop($parts); |
|
| 122 | + break; |
|
| 123 | + |
|
| 124 | + default: |
|
| 125 | + $parts[] = $part; |
|
| 126 | + break; |
|
| 127 | 127 | } |
| 128 | 128 | } |
| 129 | 129 | |