Skip to content

Commit

Permalink
Updated function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertWeinmeister committed Feb 15, 2024
1 parent d18f42b commit fab83bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syntax/todo.php
Expand Up @@ -94,7 +94,11 @@ public function postConnect() {
* @param $state int The lexer state for the match.
* @param $pos int The character position of the matched text.
* @param $handler Doku_Handler Reference to the Doku_Handler object.
* @return int The current lexer state for the match.
* @return array An empty array for most cases, except:
- DOKU_LEXER_EXIT: An array containing the current lexer state
and information about the just lexed todo.
- DOKU_LEXER_SPECIAL: For the special pattern of the Uncheck-All-Button, an
array containing the current lexer state and the matched text.
*/
public function handle($match, $state, $pos, Doku_Handler $handler) {
switch($state) {
Expand Down

0 comments on commit fab83bd

Please sign in to comment.