mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-23 19:45:10 +01:00
[ticket/12715] Cleanup comments in \phpbb\datetime
PHPBB3-12715
This commit is contained in:
parent
706484c80d
commit
7f3e0e5e42
@ -39,8 +39,8 @@ class datetime extends \DateTime
|
|||||||
* the user context and modify the timezone to the users selected timezone if one is not set.
|
* the user context and modify the timezone to the users selected timezone if one is not set.
|
||||||
*
|
*
|
||||||
* @param string $time String in a format accepted by strtotime().
|
* @param string $time String in a format accepted by strtotime().
|
||||||
* @param DateTimeZone $timezone Time zone of the time.
|
* @param \DateTimeZone $timezone Time zone of the time.
|
||||||
* @param user User object for context.
|
* @param user $user object for context.
|
||||||
*/
|
*/
|
||||||
public function __construct($user, $time = 'now', \DateTimeZone $timezone = null)
|
public function __construct($user, $time = 'now', \DateTimeZone $timezone = null)
|
||||||
{
|
{
|
||||||
@ -120,7 +120,7 @@ class datetime extends \DateTime
|
|||||||
/**
|
/**
|
||||||
* Magic method to convert DateTime object to string
|
* Magic method to convert DateTime object to string
|
||||||
*
|
*
|
||||||
* @return Formatted date time, according to the users default settings.
|
* @return string Formatted date time, according to the users default settings.
|
||||||
*/
|
*/
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user