Permalink
Browse files

Revert "Edited src/Opl/Autoloader/ClassMapBuilder.php via GitHub"

This reverts commit 53457fd.

NEVER make direct changes to Master. Such activity is punished.
  • Loading branch information...
1 parent 53457fd commit 677dfd0b74811b40320767e23c25c265bb0b6d4a @zyxist zyxist committed Jun 13, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Opl/Autoloader/ClassMapBuilder.php
@@ -65,7 +65,9 @@ public function addNamespace($namespaceName, $path, $extension = '.php')
$path .= '/';
}
- $iterator = new RecursiveDirectoryIterator($path.$namespaceName)
+ $iterator = new RecursiveIteratorIterator(
+ new RecursiveDirectoryIterator($path.$namespaceName)
+ );
$errors = array();
foreach($iterator as $name => $fileEntry)
{

0 comments on commit 677dfd0

Please sign in to comment.