Skip to content

Commit

Permalink
fix: rendering of enums on PHP < 8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mnavarrocarter authored Oct 26, 2023
1 parent e740af7 commit a2e436e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/TransientCollectionRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a2e436e

Please sign in to comment.