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

castTo: foreach() argument must be of type array|object, string given #58

Closed
radimvaculik opened this issue Aug 24, 2023 · 1 comment
Closed

Comments

@radimvaculik
Copy link

radimvaculik commented Aug 24, 2023

Version: 1.2.4

Bug Description

When calling castTo twice, it produces a warning.

Steps To Reproduce

https://fiddle.nette.org/nette/#d9bfa4be37

Expected Behavior

No warning. Input string will be successfully mapped to target class DateTime property.

Possible Solution

🤷

@radimvaculik
Copy link
Author

Linking similar issue – #44

@dg dg closed this as completed in ac25085 Oct 3, 2023
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

1 participant