Skip to content

Commit

Permalink
Adjust method signatures to match parent
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Feb 2, 2016
1 parent 8ead0cc commit 50e16a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax.php
Expand Up @@ -61,7 +61,7 @@ public function connectTo( $mode ) {
* @param Doku_Handler $handler The handler
* @return array Data for the renderer
*/
public function handle( $match, $state, $pos, Doku_Handler &$handler ) {
public function handle( $match, $state, $pos, Doku_Handler $handler ) {
// <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="110" height="14" class="clippy" >
// <param name="movie" value="lib/clippy.swf"/>
// <param name="allowScriptAccess" value="always" />
Expand Down Expand Up @@ -112,7 +112,7 @@ public function handle( $match, $state, $pos, Doku_Handler &$handler ) {
* @param array $data The data from the handler() function
* @return bool If rendering was successful.
*/
public function render( $mode, Doku_Renderer &$renderer, $data ) {
public function render( $mode, Doku_Renderer $renderer, $data ) {
if ( $mode != 'xhtml' ) return false;
$movie = "lib/clippy.swf";
$flashvars = array( "text" => $data['text'] );
Expand Down

0 comments on commit 50e16a9

Please sign in to comment.