aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/style/path_provider.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/style/path_provider.php')
-rw-r--r--phpBB/phpbb/style/path_provider.php6
1 files changed, 4 insertions, 2 deletions
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);
}
}