Skip to content

Commit

Permalink
docblock fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Hartmann authored and markstory committed Jun 2, 2016
1 parent b950c11 commit cf45097
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/I18n/DateFormatTrait.php
Expand Up @@ -75,9 +75,11 @@ trait DateFormatTrait
*/
protected static $_isDateInstance;

/** Gets the default output timezone used by Time and FrozenTime.
/**
* Gets the default output timezone used by Time and FrozenTime.
*
* @return \DateTimeZone|null DateTimeZone object in which the date will be displayed or null.
* @throws \RuntimeException When being executed on Date/FrozenDate.
*/
public static function getDefaultOutputTimezone()
{
Expand All @@ -93,6 +95,8 @@ public static function getDefaultOutputTimezone()
* @param string|\DateTimeZone $timezone Timezone string or DateTimeZone object
* in which the date will be displayed.
* @return void
* @throws \RuntimeException When being executed on Date/FrozenDate.
* @throws \InvalidArgumentException When $timezone is neither a valid DateTimeZone string nor a \DateTimeZone object.
*/
public static function setDefaultOutputTimezone($timezone)
{
Expand Down

0 comments on commit cf45097

Please sign in to comment.