X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMWTimestamp.php;h=d28169f388e1e46120322bf269f9ed1891d8dd9f;hb=4b75063d0eafeb9260f177cde782156a81b56f6b;hp=7f3649e39c06a2e3bb8d9010b3634d37eec02347;hpb=944b93ee740d491ec6353f3fa5a439db41de97b8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MWTimestamp.php b/includes/MWTimestamp.php index 7f3649e39c..d28169f388 100644 --- a/includes/MWTimestamp.php +++ b/includes/MWTimestamp.php @@ -138,9 +138,9 @@ class MWTimestamp extends ConvertibleTimestamp { * Generate a purely relative timestamp, i.e., represent the time elapsed between * the given base timestamp and this object. * - * @param MWTimestamp $relativeTo Relative base timestamp (defaults to now) - * @param User $user Use to use offset for - * @param Language $lang Language to use + * @param MWTimestamp|null $relativeTo Relative base timestamp (defaults to now) + * @param User|null $user Use to use offset for + * @param Language|null $lang Language to use * @param array $chosenIntervals Intervals to use to represent it * @return string Relative timestamp */