Skip to content

Conversation

@jeremiealvin
Copy link
Contributor

Description

int enums display warnings when we call Hydratation helpers with the PHPStorm IDE

Screenshots

image

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING document.
  • My pull request addresses exactly one patch/feature.
  • I have created a branch for this patch/feature.
  • Each individual commit in the pull request is meaningful.
  • If my change requires a change to the documentation, I have updated it accordingly.

Tests already cover this case, see: https://github.com/jeremiealvin/enum/blob/42a31c90180e2bc653c4d58173673d5e3c299fdc/tests/Unit/BackedEnumTest.php#L297

@jeremiealvin jeremiealvin changed the title fix: int enums display warnings on the IDE when hydration helpers are… fix: int enums display warnings on the IDE when hydration helpers are called Jun 25, 2025
@jeremiealvin jeremiealvin force-pushed the fix/int-enums-hydratation branch from e7a8340 to 4a12656 Compare June 25, 2025 14:43
@cerbero90 cerbero90 merged commit b84f5b1 into cerbero90:develop Jun 25, 2025
26 checks passed
@cerbero90
Copy link
Owner

Thank you so much for your contribution, @jeremiealvin!

Please feel free to require the latest version of this package with your fix: 2.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants