// Does the instance exist?
if (!$this->isProtocolRegistered($protocolInstance)) {
// No, not found so we create a sub registry (not needed to configure!)
- $registryInstance = SubREGISTRY[' . __LINE__ . ']::createSubRegistry();
+ $registryInstance = SubRegistry::createSubRegistry();
// Now we can create the sub-registry for this protocol
$this->addInstance($this->getRegistryKeyFromProtocol($protocolInstance), $registryInstance);