From de74e7d8675d0a97f562bd00f599cffc8a74eeeb Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Fri, 14 Jul 2017 20:50:38 +0200 Subject: [PATCH] Improve class docs --- plugins/DummyPlugin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/DummyPlugin.php b/plugins/DummyPlugin.php index c083059..c201628 100644 --- a/plugins/DummyPlugin.php +++ b/plugins/DummyPlugin.php @@ -194,7 +194,7 @@ class DummyPlugin extends AbstractPicoPlugin * @see Pico::prepareFileContent() * @see DummyPlugin::prepareFileContent() * @see DummyPlugin::onContentParsed() - * @param string &$rawContent raw file contents + * @param string &$rawContent raw file contents of the requested page * @return void */ public function onContentParsing(&$rawContent) @@ -207,10 +207,10 @@ class DummyPlugin extends AbstractPicoPlugin * * @see Pico::parseFileContent() * @see DummyPlugin::onContentParsed() - * @param string &$content prepared file contents for parsing + * @param string &$markdown Markdown contents of the requested page * @return void */ - public function onContentPrepared(&$content) + public function onContentPrepared(&$markdown) { // your code } @@ -219,7 +219,7 @@ class DummyPlugin extends AbstractPicoPlugin * Triggered after Pico has parsed the contents of the file to serve * * @see Pico::getFileContent() - * @param string &$content parsed contents + * @param string &$content parsed contents (HTML) of the requested page * @return void */ public function onContentParsed(&$content)