Skip to content

Commit 055c7d6

Browse files
authored
Update DateTimeTrait.php
Update PHPDoc suggested by Gemini Code Review.
1 parent 571015c commit 055c7d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/DateTimeTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ public static function createFromFormat( // phpcs:ignore WordPress.NamingConvent
273273
*
274274
* @since 1.0.1
275275
*
276-
* @param string $format Format accepted by date().
277-
* @param string $time String representing the time.
278-
* @param \DateTimeZone $timezone A DateTimeZone object representing the desired time zone.
276+
* @param string $format Format accepted by date().
277+
* @param string $time String representing the time.
278+
* @param \DateTimeZone|null $timezone A DateTimeZone object representing the desired time zone.
279279
*
280280
* @return self|false
281281
*/

0 commit comments

Comments
 (0)