From 1d923260a64e0bee3981e26db027d1ad2e01ecab Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Thu, 31 Jul 2014 20:23:29 +0200 Subject: [PATCH 1/2] [ticket/12901] Fix type hinting of style $level PHPBB3-12901 --- phpBB/includes/acp/acp_styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 4cc93e5670..8530fc061d 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -804,7 +804,7 @@ class acp_styles * * @param array $styles Styles list, passed as reference * @param string $name Name of parent style - * @param string $level Styles tree level + * @param int $level Styles tree level */ protected function show_available_child_styles(&$styles, $name, $level) { From 7755f5354f3f5ab951b24db6088b4bc4829a64c1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 3 Aug 2014 22:41:12 +0200 Subject: [PATCH 2/2] [ticket/12901] Fix another wrong type hint for $level PHPBB3-12901 --- phpBB/includes/acp/acp_styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 8530fc061d..2a02e3e845 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -888,7 +888,7 @@ class acp_styles * Show item in styles list * * @param array $style style row - * @param array $level style inheritance level + * @param int $level style inheritance level */ protected function list_style(&$style, $level) {