Ticket Details
Viewing some methods causes a "Undefined offset" warning.
BUG Ticket (closed)
###What happened: ... docs/lithium/action/Controller::set() gives a notice "Undefined offset: 1 in www\li3\app\libraries\plugins\li3_docs\controllers\BrowserController.php on line 179" ###What was expected: no warning ;-) This appears to only occur if the return for the method is 'void'.
Looking a little deeper I think the problem is a return value without any following description. It's just that return type 'void' never has a description, so shows up every time. Any other type without a description would also produce this warning. Replacing line 179 with: list($type, $text) = explode(' ', $object['info']['tags']['return'] . ' ', 2); fixes the rendering, but isn't an elegant solution.