Permalink
Browse files

Squash, and Rebase

  • Loading branch information...
1 parent f6f3cf9 commit 28d13ce484c30d212a1c2232172dcf5744e4fe33 @ericcholis ericcholis committed Jan 31, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 analysis/Inspector.php
View
@@ -435,7 +435,9 @@ function($class) { return new ReflectionClass($class); }, $list
$list = array_diff(get_declared_classes(), $list);
} else {
$filter = function($class) use ($file) { return $class->getFileName() === $file; };
- $list = $loaded->find($filter)->getName();
+ $list = $loaded->find($filter)->map(function ($class) {
+ return $class->getName() ?: $class->name;
+ }, array('collect' => false));
}
}

0 comments on commit 28d13ce

Please sign in to comment.