Skip to content

Commit 967844f

Browse files
committed
Small improvement, don't use getters internally
1 parent 5943aa8 commit 967844f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ast/ValuePath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getFilter()
4747

4848
public function __toString()
4949
{
50-
return sprintf('%s[%s]', $this->getAttributePath(), $this->getFilter());
50+
return sprintf('%s[%s]', $this->attributePath, $this->filter);
5151
}
5252

5353
public function dump()

0 commit comments

Comments
 (0)