add nullable return types

This commit is contained in:
Thomas Portelange 2024-04-08 16:03:27 +02:00 committed by GitHub
parent cca2f7059b
commit 720b0d9c1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class DBDate extends DBField
/**
* Returns the standard localised medium date
*
* @return string
* @return ?string
*/
public function Nice()
{
@ -263,7 +263,7 @@ class DBDate extends DBField
*
* @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)
{