Skip to content

Commit

Permalink
* fixed invokeAroundHandlers in TexyParagraphModule
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 26, 2007
1 parent 8283ae0 commit 1de9632
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion texy-for-php4/modules/TexyParagraphModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function process($parser, $content, & $nodes)
$mod->setProperties($mMod);
}

$el = $tx->invokeAroundHandlers('paragraph', $this, array($s, $mod));
$el = $tx->invokeAroundHandlers('paragraph', $parser, array($s, $mod));
if ($el) $nodes[] = $el;
}
}
Expand Down
2 changes: 1 addition & 1 deletion texy/libs/TexyHandlerInvocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class TexyHandlerInvocation
* @param TexyParser
* @param array arguments
*/
public function __construct($handlers, $parser, $args)
public function __construct($handlers, TexyParser $parser, $args)
{
$this->handlers = $handlers;
$this->pos = count($handlers);
Expand Down
2 changes: 1 addition & 1 deletion texy/modules/TexyParagraphModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function process($parser, $content, & $nodes)
$mod->setProperties($mMod);
}

$el = $tx->invokeAroundHandlers('paragraph', $this, array($s, $mod));
$el = $tx->invokeAroundHandlers('paragraph', $parser, array($s, $mod));
if ($el) $nodes[] = $el;
}
}
Expand Down

0 comments on commit 1de9632

Please sign in to comment.