Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions syntax/syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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){
$dropwrapper = trim(substr(substr($match,11),0,-2));

$exploded = explode(' ',$dropwrapper);
Expand Down Expand Up @@ -122,7 +122,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 == 'metadata') {
//dbglog("In render metadata");

Expand Down