Skip to content

Commit

Permalink
MNT add nullable return types to PHPDocs (#11192)
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala authored Apr 28, 2024
1 parent cfeb678 commit 44f77ec
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 44f77ec

Please sign in to comment.