Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another strict types fix for SVGs #8336

Conversation

Sesquipedalian
Copy link
Member

No description provided.

@Sesquipedalian Sesquipedalian merged commit c5c480c into SimpleMachines:release-3.0 Nov 3, 2024
6 checks passed
@Sesquipedalian Sesquipedalian deleted the image_dimensions_fix branch November 3, 2024 23:38
@dragomano
Copy link
Contributor

Just a note...

Using a PHP-Typed package, you can simplify such constructs -

!empty(Config::$modSettings['attachmentThumbHeight']) ? (int) Config::$modSettings['attachmentThumbHeight'] : 1000

to the following form:

Typed::int(Config::$modSettings, 'attachmentThumbHeight', 1000)

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

Successfully merging this pull request may close these issues.

2 participants