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

Return type error when no storage prefix is configured #62

Open
riea opened this issue Nov 22, 2022 · 1 comment
Open

Return type error when no storage prefix is configured #62

riea opened this issue Nov 22, 2022 · 1 comment
Assignees

Comments

@riea
Copy link

riea commented Nov 22, 2022

With v2.6.1 and PHP 8.1 and no package configuration adjustments regarding a storage key prefix an Exception gets thrown:

Flownative_Aws_S3_S3Target.php: Flownative\Aws\S3\S3Storage_Original::getKeyPrefix(): Return value must be of type string, null returned

Am i required to add an empty string prefix option to my configuration even if i don’t use prefixed storages in my setup?

@kdambekalns kdambekalns self-assigned this Jul 5, 2023
@kdambekalns
Copy link
Member

Sorry for the slow reaction… yes, we need to type cast that, you should not need to explicitly set an empty string. Does no harm, though, as a workaround.

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

No branches or pull requests

2 participants