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

ENH add nullable return types #11192

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ORM/FieldType/DBDate.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function parseDate($value)
/**
* Returns the standard localised medium date
*
* @return string
* @return ?string
*/
public function Nice()
{
Expand Down Expand Up @@ -263,7 +263,7 @@ public function getISOFormat()
*
* @param string $format Format code string. See https://unicode-org.github.io/icu/userguide/format_parse/datetime
* @param string $locale Custom locale to use (add to signature in 5.0)
* @return string The date in the requested format
* @return ?string The date in the requested format
*/
public function Format($format)
{
Expand Down
Loading