Improve phpDoc class docs
This commit is contained in:
parent
7684fc455a
commit
87ced8c8bd
2 changed files with 6 additions and 2 deletions
|
@ -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')
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue