Skip to content

Commit 893ab10

Browse files
committed
code style fixes
1 parent 267bf00 commit 893ab10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ReferenceContext.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ private function reduceDots($path)
125125
if ($i > 0 && $parts[$i] === '..') {
126126
$parent = $i - $parentOffset;
127127
//Make sure parent exists, if not, check the next parent etc
128-
while($parent >= 0 && empty($parts[$parent])){
129-
$parent--;
128+
while ($parent >= 0 && empty($parts[$parent])) {
129+
$parent--;
130130
}
131131
//Confirm parent is valid
132-
if(!empty($parts[$parent]) && $parts[$parent] !== '..'){
132+
if (!empty($parts[$parent]) && $parts[$parent] !== '..') {
133133
unset($parts[$parent]);
134134
}
135135
unset($parts[$i]);

0 commit comments

Comments
 (0)