Commit 7fb0a16
authored
Make DateTimeInterface::format return string|false
While the official signature (`public DateTimeInterface::format ( string $format ) : string`) doesn't contain the `false` part, in [return value description](https://www.php.net/manual/en/datetime.format.php#refsect1-datetime.format-returnvalues) you can read:
`Returns the formatted date string on success or FALSE on failure.`1 parent a5f31ac commit 7fb0a16
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
1635 | | - | |
| 1635 | + | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
| |||
0 commit comments