Skip to content

Conversation

@Alex300
Copy link

@Alex300 Alex300 commented Sep 28, 2024

Fix Deprecated: Implicit conversion from float to int loses precision
Fix dinamic creation object property is deprecated

@peterdd
Copy link

peterdd commented Sep 28, 2024

return type definitions are PHP 7+, securimage is PHP5.4+

(assuming there are still PHP5.6 installs at least)

https://wiki.php.net/rfc/return_types

@Alex300
Copy link
Author

Alex300 commented Sep 30, 2024

I removed return type definitions. I didn't even know that someone could use PHP 5.x

@perdedora
Copy link

perdedora commented May 12, 2025

The phpdoc for getCode is wrong. If $returnExisting is set to false, it will return an object somehow, not an array.


return type definitions are PHP 7+, securimage is PHP5.4+

Where did you got this information about PHP5.4+?
The README clearly states PHP7.0+ which already supports return types.

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.

3 participants