You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
# Default file info class implementing FileInfoInterface: Optional. By default we provide a class which is prepared to receive an UploadedFile instance.
default_file_info_class: Stof\DoctrineExtensionsBundle\Uploadable\UploadedFileInfo
So this could be an issue on doctrine-extension's side. idk
I don't have any idea how can this be fixed without BC.
The text was updated successfully, but these errors were encountered:
Hi!
There is a type conflict here:
https://github.com/antishov/StofDoctrineExtensionsBundle/blob/master/Uploadable/UploadedFileInfo.php#L29
the implemented interface returns string|null
https://github.com/doctrine-extensions/DoctrineExtensions/blob/main/src/Uploadable/FileInfo/FileInfoInterface.php#L31
and the used UploadedFile class returns int|false (inherited from SplFileInfo)
https://www.php.net/manual/en/splfileinfo.getsize.php
At the docs there is a part which says:
https://symfony.com/bundles/StofDoctrineExtensionsBundle/current/configuration.html
So this could be an issue on doctrine-extension's side. idk
I don't have any idea how can this be fixed without BC.
The text was updated successfully, but these errors were encountered: