Commit f23a41d1 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Fix for annotations loaded from a single source.

parent fd046e24
......@@ -273,7 +273,7 @@ abstract class EcomDev_PHPUnit_Test_Case extends PHPUnit_Framework_TestCase
public function getAnnotationByName($name, $sources = 'method')
{
if (is_string($sources)) {
$source = array($sources);
$sources = array($sources);
}
$allAnnotations = $this->getAnnotations();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment