Added generics to Context (#22)

This commit is contained in:
Nereo Berardozzi
2024-12-24 19:06:41 +01:00
committed by GitHub
parent e5c8b970d6
commit 476f62b577
3 changed files with 33 additions and 4 deletions
@@ -157,7 +157,7 @@ class CollectionTest extends TestCase
{
$collection = new Collection(
array(),
new Context('\My\Space', array('Alias' => '\My\Space\Aliasing')),
new Context('\My\Space', array('Alias' => '\My\Space\Aliasing'), '', array('TParent')),
array('TValue')
);
$collection->add($fixture);
@@ -344,6 +344,7 @@ class CollectionTest extends TestCase
array('TValue', array('TValue')),
array('TValue[]', array('TValue[]')),
array('TValue|DocBlock', array('TValue', $namespace . 'DocBlock')),
array('TParent', array('TParent')),
);
}
}