diff --git a/tests/Doctrine/Tests/ORM/Internal/Node.php b/tests/Doctrine/Tests/ORM/Internal/Node.php new file mode 100644 index 00000000000..d53954a2ea2 --- /dev/null +++ b/tests/Doctrine/Tests/ORM/Internal/Node.php @@ -0,0 +1,16 @@ +name = $name; + } +} diff --git a/tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php b/tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php index d0dd9178c15..e1a93b684ef 100644 --- a/tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php +++ b/tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php @@ -287,14 +287,3 @@ private function computeResult(): array }, array_values($this->topologicalSort->sort())); } } - -class Node -{ - /** @var string */ - public $name; - - public function __construct(string $name) - { - $this->name = $name; - } -}