Skip to content

Commit

Permalink
Small improvement, don't use getters internally
Browse files Browse the repository at this point in the history
  • Loading branch information
andreigorgan committed Apr 24, 2020
1 parent 5943aa8 commit 967844f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ast/ValuePath.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getFilter()

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

public function dump()
Expand Down

0 comments on commit 967844f

Please sign in to comment.