From b95fdacdd378877d277e261465da73deb06e50da Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Tue, 10 Sep 2013 14:01:09 +0200 Subject: [ticket/11700] Move all recent code to namespaces PHPBB3-11700 --- phpBB/phpbb/style/path_provider.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb/style/path_provider.php') diff --git a/phpBB/phpbb/style/path_provider.php b/phpBB/phpbb/style/path_provider.php index 731d682e88..0a5906d0a8 100644 --- a/phpBB/phpbb/style/path_provider.php +++ b/phpBB/phpbb/style/path_provider.php @@ -7,6 +7,8 @@ * */ +namespace phpbb\style; + /** * @ignore */ @@ -22,7 +24,7 @@ if (!defined('IN_PHPBB')) * * @package phpBB3 */ -class phpbb_style_path_provider implements IteratorAggregate, phpbb_style_path_provider_interface +class path_provider implements \IteratorAggregate, \phpbb\style\path_provider_interface { protected $paths = array(); @@ -57,6 +59,6 @@ class phpbb_style_path_provider implements IteratorAggregate, phpbb_style_path_p */ public function getIterator() { - return new ArrayIterator($this->paths); + return new \ArrayIterator($this->paths); } } -- cgit v1.2.1