* @param $poolSegment Name of the pool segment
* @param $instance An instance of a class we should add to the pool
* @return void
- * @todo Can we use Listenable instead of FrameworkInterface ?
*/
- protected final function addInstance($group, $poolName, FrameworkInterface $instance) {
+ protected final function addInstance ($group, $poolName, Visitable $instance) {
$this->poolEntries[$group][$poolName][] = $instance;
}