Skip to content

Commit 8503469

Browse files
authored
Merge pull request #11171 from greg0ire/extract-class
Make Doctrine\Tests\ORM\Internal\Node autoloadable
2 parents a0ed379 + d98186e commit 8503469

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Doctrine\Tests\ORM\Internal;
6+
7+
class Node
8+
{
9+
/** @var string */
10+
public $name;
11+
12+
public function __construct(string $name)
13+
{
14+
$this->name = $name;
15+
}
16+
}

tests/Doctrine/Tests/ORM/Internal/TopologicalSortTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,3 @@ private function computeResult(): array
287287
}, array_values($this->topologicalSort->sort()));
288288
}
289289
}
290-
291-
class Node
292-
{
293-
/** @var string */
294-
public $name;
295-
296-
public function __construct(string $name)
297-
{
298-
$this->name = $name;
299-
}
300-
}

0 commit comments

Comments
 (0)