Improve phpDoc class docs

This commit is contained in:
Daniel Rudolf 2019-10-01 13:29:16 +02:00
parent 7684fc455a
commit 87ced8c8bd
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
2 changed files with 6 additions and 2 deletions

View file

@ -130,6 +130,8 @@ class PicoTwigExtension extends Twig_Extension
* $item['foo']['bar'] values)
*
* @return array mapped values
*
* @throws Twig_Error_Runtime
*/
public function mapFilter($var, $mapKeyPath)
{
@ -170,6 +172,8 @@ class PicoTwigExtension extends Twig_Extension
* these items
*
* @return array sorted array
*
* @throws Twig_Error_Runtime
*/
public function sortByFilter($var, $sortKeyPath, $fallback = 'bottom')
{

View file

@ -119,7 +119,7 @@ class DummyPlugin extends AbstractPicoPlugin
* @see Pico::loadTheme()
* @see DummyPlugin::onThemeLoaded()
*
* @param string $theme name of current theme
* @param string &$theme name of current theme
*/
public function onThemeLoading(&$theme)
{
@ -135,7 +135,7 @@ class DummyPlugin extends AbstractPicoPlugin
*
* @param string $theme name of current theme
* @param int $themeApiVersion API version of the theme
* @param array $themeConfig config array of the theme
* @param array &$themeConfig config array of the theme
*/
public function onThemeLoaded($theme, $themeApiVersion, array &$themeConfig)
{