Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
Fix nullable parameter doc
  • Loading branch information
BenMorel authored and fabpot committed Nov 14, 2021
commit 71a9d15f3ae0616e6fb098ba6f3623262a1b5a7e
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(string $format = 'P%yY%mM%dDT%hH%iM%sS')
/**
* Transforms a DateInterval object into a date string with the configured format.
*
* @param \DateInterval $value A DateInterval object
* @param \DateInterval|null $value A DateInterval object
*
* @return string An ISO 8601 or relative date string like date interval presentation
*
Expand Down