Skip to content

Commit

Permalink
Avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Mar 12, 2019
1 parent 5c50f00 commit 787c9e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/AbstractDateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ public static function createFromTimestamp(int $timestamp): self
}

/**
* @param string $format
* @param string $dateTime
* @param string $format
* @param string $dateTime
* @param null|\DateTimeZone $timezone
*
* @return static
*/
public static function createFromFormat($format, $dateTime, \DateTimeZone $timezone = null): self
public static function createFromFormat($format, $dateTime, $timezone = null): self
{
$class = static::getClass();

Expand Down

0 comments on commit 787c9e5

Please sign in to comment.