Skip to content

FileUpload::getImageSize() more precise types - #249

Open
xificurk wants to merge 1 commit into
nette:masterfrom
xificurk:typehints-improvements
Open

xificurk wants to merge 1 commit into
nette:masterfrom
xificurk:typehints-improvements

Conversation

@xificurk

@xificurk xificurk commented Nov 7, 2026

Copy link
Copy Markdown
  • new feature - not really
  • BC break no

getImageSize() now says that width and height are never negative: ?array{int<0, max>, int<0, max>} instead of ?array{int, int}.

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.

1 participant