Skip to content

Conversation

@GrahamCampbell
Copy link
Contributor

Fixes #2327. Replaces #2331.

@GrahamCampbell
Copy link
Contributor Author

Friendly ping @SamRemis. :)

}

/**
* @param $iso8601Timestamp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should rather be @param string $iso8601Timestamp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems to accept non-string params too, otherwise the is_string check would be dead code. adding propper type doc is out of scope here. I've just removed some invalid syntax.

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

Successfully merging this pull request may close these issues.

Invalid timestamp value passed to DateTimeResult::fromTimestamp on PHP 8.1

3 participants