1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[ticket/12715] Cleanup comments in \phpbb\datetime

PHPBB3-12715
This commit is contained in:
Tristan Darricau 2014-06-15 15:15:27 +02:00
parent 706484c80d
commit 7f3e0e5e42

View File

@ -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()
{ {