Improve phpDoc class docs
This commit is contained in:
parent
7684fc455a
commit
87ced8c8bd
@ -130,6 +130,8 @@ class PicoTwigExtension extends Twig_Extension
|
|||||||
* $item['foo']['bar'] values)
|
* $item['foo']['bar'] values)
|
||||||
*
|
*
|
||||||
* @return array mapped values
|
* @return array mapped values
|
||||||
|
*
|
||||||
|
* @throws Twig_Error_Runtime
|
||||||
*/
|
*/
|
||||||
public function mapFilter($var, $mapKeyPath)
|
public function mapFilter($var, $mapKeyPath)
|
||||||
{
|
{
|
||||||
@ -170,6 +172,8 @@ class PicoTwigExtension extends Twig_Extension
|
|||||||
* these items
|
* these items
|
||||||
*
|
*
|
||||||
* @return array sorted array
|
* @return array sorted array
|
||||||
|
*
|
||||||
|
* @throws Twig_Error_Runtime
|
||||||
*/
|
*/
|
||||||
public function sortByFilter($var, $sortKeyPath, $fallback = 'bottom')
|
public function sortByFilter($var, $sortKeyPath, $fallback = 'bottom')
|
||||||
{
|
{
|
||||||
|
@ -119,7 +119,7 @@ class DummyPlugin extends AbstractPicoPlugin
|
|||||||
* @see Pico::loadTheme()
|
* @see Pico::loadTheme()
|
||||||
* @see DummyPlugin::onThemeLoaded()
|
* @see DummyPlugin::onThemeLoaded()
|
||||||
*
|
*
|
||||||
* @param string $theme name of current theme
|
* @param string &$theme name of current theme
|
||||||
*/
|
*/
|
||||||
public function onThemeLoading(&$theme)
|
public function onThemeLoading(&$theme)
|
||||||
{
|
{
|
||||||
@ -135,7 +135,7 @@ class DummyPlugin extends AbstractPicoPlugin
|
|||||||
*
|
*
|
||||||
* @param string $theme name of current theme
|
* @param string $theme name of current theme
|
||||||
* @param int $themeApiVersion API version of the 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)
|
public function onThemeLoaded($theme, $themeApiVersion, array &$themeConfig)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user