Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: loophp/phptree
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: afa86d58364de7dade4f15481b166b8d473f5026
Choose a base ref
..
head repository: loophp/phptree
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b3bedaf76029886b5d3b8e3aebf55b7fdc7e85f2
Choose a head ref
Showing with 2 additions and 14 deletions.
  1. +1 −7 src/Exporter/Graph.php
  2. +1 −7 src/Exporter/Text.php
8 changes: 1 addition & 7 deletions src/Exporter/Graph.php
Original file line number Diff line number Diff line change
@@ -59,13 +59,7 @@ public function getTraverser(): TraverserInterface
}

/**
* Export a node into a Graph.
*
* @param \drupol\phptree\Node\ValueNodeInterface $node
* The node.
*
* @return \Fhaculty\Graph\Graph
* The graph.
* {@inheritdoc}
*/
public function export(ValueNodeInterface $node): OriginalGraph
{
8 changes: 1 addition & 7 deletions src/Exporter/Text.php
Original file line number Diff line number Diff line change
@@ -12,13 +12,7 @@
class Text implements ExporterInterface
{
/**
* Export the node in a string.
*
* @param \drupol\phptree\Node\ValueNodeInterface $node
* The node.
*
* @return string
* The string.
* {@inheritdoc}
*/
public function export(ValueNodeInterface $node): string
{