peej/phpdoctor

Multiple @todo in single method breaks todoWriter

rrehbein opened this issue · 1 comments

  /**
   * Set totals for order
   *
   * @todo data validation
   * @todo filter data
   * @param App_Order_Totals $totals
   * @return App_Order
   */
  public function setTotals($totals) { /* snip */ }
 [exec] <tr>
 [exec] <td class="name"><a href="globalnamespace/app_order.html#setTotals()">GlobalNamespace\App_Order\setTotals</a></td>
 [exec] <td class="description">
 [exec] Fatal error: Call to a member function firstSentenceTags() on a non-object in /var/www/App/vendor/phpdoctor/doclets/standard/htmlWriter.php on line 295
 [exec] 
 [exec] Call Stack:
 [exec]     0.0008     633176   1. {main}() /var/www/App/vendor/phpdoctor/phpdoc.php:0
 [exec]     2.2237   16905464   2. PHPDoctor->execute() /var/www/App/vendor/phpdoctor/phpdoc.php:55
 [exec]     2.2281   17750048   3. Standard->standard() /var/www/App/vendor/phpdoctor/classes/phpDoctor.php:1140
 [exec]     3.5026   17976704   4. TodoWriter->todoWriter() /var/www/App/vendor/phpdoctor/doclets/standard/standard.php:182
 [exec]     3.5075   18026288   5. HTMLWriter->_processInlineTags() /var/www/App/vendor/phpdoctor/doclets/standard/todoWriter.php:160
peej commented

This should be fixed in commit 0e39a90