Re: [PHP-PEAR] Some Chem classes for PEAR and problem in PHPDoc

[email protected] (Ulf Wendel)
Newsgroups php.pear
Message-ID <[email protected]>

"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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.