We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 571015c commit 055c7d6Copy full SHA for 055c7d6
1 file changed
src/DateTimeTrait.php
@@ -273,9 +273,9 @@ public static function createFromFormat( // phpcs:ignore WordPress.NamingConvent
273
*
274
* @since 1.0.1
275
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.
+ * @param string $format Format accepted by date().
+ * @param string $time String representing the time.
+ * @param \DateTimeZone|null $timezone A DateTimeZone object representing the desired time zone.
279
280
* @return self|false
281
*/
0 commit comments