[dev] Horde_Date documentation add() misleading

Jan Schneider jan at horde.org
Sat Aug 13 09:31:19 UTC 2011


Zitat von Ralf Lang <lang at b1-systems.de>:

> I just used Horde_Date.
> http://dev.horde.org/api/framework/Date/ says add() was returning void and
> implies it modifies the object inplace.

Not quite, the docs say it returns a new date object, but the wording  
could be improved.

> However, add first clones the object, performs additions on the clone and
> returns it.
>
> How can I change that info?

Just change the phpdoc.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list