Skip to content

Commit bce26f8

Browse files
committed
revert sortOptions change
1 parent bf5e5a6 commit bce26f8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Util/ClassSourceManipulator.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,10 +1473,6 @@ private function buildNodeExprByValue($value): Node\Expr
14731473
*/
14741474
private function sortOptionsByClassConstructorParameters(array $options, string $classString): array
14751475
{
1476-
if (!class_exists($classString)) {
1477-
return $options;
1478-
}
1479-
14801476
if ('ORM\\' === substr($classString, 0, 4)) {
14811477
$classString = sprintf('Doctrine\\ORM\\Mapping\\%s', substr($classString, 4));
14821478
}

0 commit comments

Comments
 (0)