From a2e436ee6ccd862cd25b2f62a34d57eed2054c3a Mon Sep 17 00:00:00 2001 From: Matias Navarro Carter Date: Thu, 26 Oct 2023 15:05:22 +0100 Subject: [PATCH] fix: rendering of enums on PHP < 8.2.0 --- src/TransientCollectionRenderer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/TransientCollectionRenderer.php b/src/TransientCollectionRenderer.php index 8577f4e..60f8018 100644 --- a/src/TransientCollectionRenderer.php +++ b/src/TransientCollectionRenderer.php @@ -22,9 +22,7 @@ public static function render(TransientCollection $collector): string // attributes.php @generated by https://github.com/olvlvl/composer-attribute-collector - namespace olvlvl\ComposerAttributeCollector; - - Attributes::with(fn () => new Collection( + \olvlvl\ComposerAttributeCollector\Attributes::with(fn () => new \olvlvl\ComposerAttributeCollector\Collection( targetClasses: $targetClassesCode, targetMethods: $targetMethodsCode, targetProperties: $targetPropertiesCode,