Re: Some Chem classes for PEAR and problem in PHPDoc

From: Date: Sun, 18 Feb 2001 14:34:09 +0000
Subject: Re: Some Chem classes for PEAR and problem in PHPDoc
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-1372@lists.php.net to get a copy of this message
"Jesus M. Castagnetto" wrote: > The problem in PHPDoc I observed is that the following > piece of code: > > /** > * Constructor for the class, requires the element > symbol > * and an optional array of coordinates > * > * @param string $element chemical symbol > * @param optional array $coords array of > coordinates (x, y, z) > * @access public > * @return object Chem_Atom > * > * @see setCoordinates() > */ > function Chem_Atom($element, $coords="") > > does not generate the expected prototype: > > object Chem_Atom Chem_Atom(string $element, [ > array $coords ]) > > but a wrong prototype: > > object Chem_Atom Chem_Atom(string $element, [ > string $coords ]) Known problem. Will be fixed with the next version that comes this month. Ulf

« previous php.pear (#1372) next »