What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

We have several `*.schema.xml` files with columns like this: ```

U018XELUZS9
U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet

We have several *.schema.xml files with columns like this:

<column name="soft_deleted_at" type="TIMESTAMP" default="NULL" required="false"/>

But the generated Transfer only accepts string|null as a parameter:

     * @param string|null $softDeletedAt
     *
     * @return $this
     */
    public function setSoftDeletedAt($softDeletedAt)

We would like to add \DateTimeInterface to the possible types, too, since this is possible, but the docblock is wrong. Is there already a way how to solve this?

Comments