diff options
author | Guillaume Turri <guillaume.turri@gmail.com> | 2013-01-06 11:36:45 +0100 |
---|---|---|
committer | Guillaume Turri <guillaume.turri@gmail.com> | 2013-01-06 11:37:05 +0100 |
commit | e47e9c10c754a8b04f2f5fb07877e55863ffdea5 (patch) | |
tree | 916a64c79c2929fb5cbbe8497abe28f79d23e305 | |
parent | 7d1ae5e244b820e5c98558ef3bac0a764f63e692 (diff) | |
download | rpg-e47e9c10c754a8b04f2f5fb07877e55863ffdea5.tar.gz rpg-e47e9c10c754a8b04f2f5fb07877e55863ffdea5.tar.bz2 |
Fixed declared returned type
-rw-r--r-- | inc/RemoteAPICore.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php index fbbb7b48b..c04a14f5c 100644 --- a/inc/RemoteAPICore.php +++ b/inc/RemoteAPICore.php @@ -48,7 +48,7 @@ class RemoteAPICore { 'public' => '1' ), 'dokuwiki.appendPage' => array( 'args' => array('string', 'string', 'array'), - 'return' => 'int', + 'return' => 'bool', 'doc' => 'Append text to a wiki page.' ), 'wiki.getPage' => array( 'args' => array('string'), @@ -102,7 +102,7 @@ class RemoteAPICore { 'name' => 'pageVersions' ), 'wiki.putPage' => array( 'args' => array('string', 'string', 'array'), - 'return' => 'int', + 'return' => 'bool', 'doc' => 'Saves a wiki page.' ), 'wiki.listLinks' => array( 'args' => array('string'), |