@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @param boolean $forTagExtensions |
150 | 150 | * @param boolean $forParserFunctions |
151 | - * @param integer $flag combination of option flags to manipulare the parser hooks |
|
151 | + * @param integer $flags combination of option flags to manipulare the parser hooks |
|
152 | 152 | * characteristics. The following are available: |
153 | 153 | * - ParserHook::FH_NO_HASH makes the function callable without leading hash. |
154 | 154 | */ |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | * |
167 | 167 | * @param Parser $parser |
168 | 168 | * |
169 | - * @return true |
|
169 | + * @return boolean |
|
170 | 170 | */ |
171 | 171 | public function init( Parser &$parser ) { |
172 | 172 | $className = get_class( $this ); |
@@ -507,7 +507,7 @@ discard block |
||
507 | 507 | * |
508 | 508 | * @since 0.4.10 |
509 | 509 | * |
510 | - * @return mixed string or false |
|
510 | + * @return boolean string or false |
|
511 | 511 | */ |
512 | 512 | public function getMessage() { |
513 | 513 | return false; |
@@ -581,6 +581,10 @@ discard block |
||
581 | 581 | protected $class; |
582 | 582 | protected $method; |
583 | 583 | |
584 | + /** |
|
585 | + * @param string $class |
|
586 | + * @param string $method |
|
587 | + */ |
|
584 | 588 | function __construct( $class, $method ) { |
585 | 589 | $this->class = $class; |
586 | 590 | $this->method = $method; |