PHP 5.2.5
phpDocumentor 1.4.2
Lets say I have such case:
<?php
class A
{
/**
* @var integer
*/
protected $a;
/**
* @var integer
*/
protected $b;
function __construct() {
$this->a = 1;
$this->b = 2;
}
public function doSomething(&$a, &$b) {}
public function do() {
$this->doSomething($this->a, $this->b);
}
}
?>
In generated documentation doSomething method will be documented as
void doSomething(&$a, &$b, integer $a, integer $b)
which could lead into a misunderstandig of how much parameters should be
passed in to the method and how they should be placed.
Nobody/Anonymous ( nobody ) - 2008-04-23 11:33
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2008-06-09 00:59
|
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use