Skip to content

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

Closed

Description

@radimvaculik

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

🤷

Activity

  1. radimvaculik commented on Aug 24, 2023

    @radimvaculik
    Author

    Linking similar issue – #44

  2. added 11 commits that reference this issue on Oct 3, 2023
    842e97d
    4eda8ba
    41ecbc6
    bc4e370
    01c849c
    b8b7fcc
    5446ada
    8c6d4d3
    39f2084
    e613699
    0462f01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions