Skip to content

Commit

Permalink
make internal method private
Browse files Browse the repository at this point in the history
  • Loading branch information
esserj committed Jul 30, 2024
1 parent e928373 commit b710339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sorter/TopologicalSorter.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private function visit(Vertex $definition)
$this->sortedNodeList[] = $definition->value;
}

public function getDefinition(string $dependency, Vertex $definition): Vertex
private function getDefinition(string $dependency, Vertex $definition): Vertex
{
if (! isset($this->nodeList[$dependency])) {
throw new RuntimeException(sprintf(
Expand Down

0 comments on commit b710339

Please sign in to comment.