Skip to content

Conversation

@tbialcz
Copy link
Contributor

@tbialcz tbialcz commented May 30, 2025

🎫 Issue n/a

Description:

Add precise PHPDoc with iterable value types to UploadMap::map() method

Added detailed return type annotation for the map() method in UploadMap class to specify array key and callable value types.

This improves static analysis by PHPStan and removes the "missing value type in iterable" warning.

No functional changes, only type safety and code clarity improvements.

@tbialcz tbialcz force-pushed the add-return-type branch from 5823e80 to c22c9a7 Compare May 30, 2025 07:23
@sonarqubecloud
Copy link

@tbialcz tbialcz requested a review from a team May 30, 2025 07:51
@ezrobot ezrobot requested review from Steveb-p, ViniTou, adamwojs, alongosz, barw4, ciastektk, konradoboza, mikadamczyk and wiewiurdp and removed request for a team May 30, 2025 07:51
@adamwojs adamwojs merged commit a362afb into main May 30, 2025
19 checks passed
@adamwojs adamwojs deleted the add-return-type branch May 30, 2025 10:56
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.

4 participants