diff --git a/src/polyfill.php b/src/polyfill.php index 1aba9f81..480310d4 100644 --- a/src/polyfill.php +++ b/src/polyfill.php @@ -10,7 +10,6 @@ declare(strict_types=1); namespace Doctrine\Common\Annotations { - use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor; if (!\interface_exists(NamedArgumentConstructorAnnotation::class)) { @@ -26,11 +25,9 @@ interface NamedArgumentConstructorAnnotation { } } - } namespace Doctrine\Common\Annotations\Annotation { - if (!\class_exists(NamedArgumentConstructor::class, false)) { /** * Annotation that indicates that the annotated class should be @@ -44,11 +41,9 @@ class NamedArgumentConstructor { } } - } namespace { - use JetBrains\PhpStorm\ExpectedValues; if (!\class_exists(Attribute::class, false)) { @@ -120,5 +115,4 @@ final class Attribute public $flags; } } - }