Skip to content

Commit

Permalink
removed changes not concerning this pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
andreigorgan committed Apr 24, 2020
1 parent 5799fd1 commit 4ce3dce
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions src/Ast/ValuePath.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,17 @@ public function __construct(AttributePath $attributePath, Filter $filter)
$this->filter = $filter;
}

/**
* @return AttributePath
*/
public function getAttributePath()
{
return $this->attributePath;
}

/**
* @return Filter
*/
public function getFilter()
{
return $this->filter;
}

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

public function dump()
{
return [
'ValuePath' => [
$this->getAttributePath()->dump(),
$this->getFilter()->dump(),
$this->attributePath->dump(),
$this->filter->dump(),
],
];
}
Expand Down

0 comments on commit 4ce3dce

Please sign in to comment.