diff --git a/Twig/Extension/ThemeExtension.php b/Twig/Extension/ThemeExtension.php index 70f8c7d..02d5c47 100644 --- a/Twig/Extension/ThemeExtension.php +++ b/Twig/Extension/ThemeExtension.php @@ -44,6 +44,8 @@ public function getFunctions() /** * Displays Wordpress theme header (and administration menu bar if available). + * + * @param string|null $name */ public function getHeader($name = null) { @@ -55,6 +57,8 @@ public function getHeader($name = null) /** * Displays Wordpress theme sidebar. + * + * @param string|null $name */ public function getSidebar($name = null) { @@ -63,6 +67,8 @@ public function getSidebar($name = null) /** * Displays Wordpress theme footer. + * + * @param string|null $name */ public function getFooter($name = null) { @@ -71,6 +77,9 @@ public function getFooter($name = null) /** * Displays a Wordpress theme template part. + * + * @param string $name + * @param string|null $name */ public function getTemplatePart($slug, $name = null) {