Merge branch 'hotfix/composers'

This commit is contained in:
Taylor Otwell 2011-09-03 09:11:12 -05:00
commit 89cb4fe895
1 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,8 @@ protected static function of($name, $data = array())
{
if ($name === $value or (isset($value['name']) and $name === $value['name']))
{
$key = ($module !== 'application') ? $module.'::'.$key : $key;
return new static($key, $data);
}
}