Re: phpdoc as code duplication
Posted: Thu Nov 11, 2010 2:04 pm
Another example of how I think PHPDoc is a waste of time:
from https://github.com/zendframework/zf2/bl ... ofiler.php
Code: Select all
/**
* Class constructor. The profiler is disabled by default unless it is
* specifically enabled by passing in $enabled here or calling setEnabled().
*
* @param boolean $enabled
* @return void
*/
public function __construct($enabled = false)
{
$this->setEnabled($enabled);
}