瀏覽代碼

fixing undefined class RuntimeException

Miha Vrhovnik 14 年之前
父節點
當前提交
d1a2681531
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php

+ 2 - 2
src/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php

@@ -23,9 +23,9 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator
     public function __construct($path, $flags)
     {
         if ($flags & (self::CURRENT_AS_PATHNAME | self::CURRENT_AS_SELF)) {
-            throw new RuntimeException('This iterator only support returning current as fileinfo.');
+            throw new \RuntimeException('This iterator only support returning current as fileinfo.');
         }
-        
+
         parent::__construct($path, $flags);
     }