Skip to content

Commit

Permalink
Revert "Edited src/Opl/Autoloader/ClassMapBuilder.php via GitHub"
Browse files Browse the repository at this point in the history
This reverts commit 53457fd.

NEVER make direct changes to Master. Such activity is punished.
  • Loading branch information
zyxist committed Jun 13, 2011
1 parent 53457fd commit 677dfd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Opl/Autoloader/ClassMapBuilder.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ public function addNamespace($namespaceName, $path, $extension = '.php')
$path .= '/'; $path .= '/';
} }


$iterator = new RecursiveDirectoryIterator($path.$namespaceName) $iterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($path.$namespaceName)
);
$errors = array(); $errors = array();
foreach($iterator as $name => $fileEntry) foreach($iterator as $name => $fileEntry)
{ {
Expand Down

0 comments on commit 677dfd0

Please sign in to comment.