Skip to content

Commit

Permalink
fix: phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
hfr committed Oct 13, 2023
1 parent cae54ce commit cf8ffbc
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions remote.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?php

//use dokuwiki\Extension\AdminPlugin;
use dokuwiki\Remote\RemoteException;

class remote_plugin_asciidocjs extends DokuWiki_Remote_Plugin {

class remote_plugin_asciidocjs extends DokuWiki_Remote_Plugin
{
/**
* Returns details about the remote plugin methods
*
* @return array Information about all provided methods. {@see dokuwiki\Remote\RemoteAPI}
*/
public function _getMethods() {
public function _getMethods()
{
return [
'getMediaToken' => [
'args' => ['string','int','int'],
Expand All @@ -21,13 +23,13 @@ public function _getMethods() {
]
];
}

public function getMediaToken($id, $w, $h) {

public function getMediaToken($id, $w, $h)
{
return media_get_token($id, $w, $h);
}
public function test() {
public function test()
{
return 'Test';
}
}


0 comments on commit cf8ffbc

Please sign in to comment.