@@ -342,7 +342,7 @@ |
||
342 | 342 | * |
343 | 343 | * @access protected |
344 | 344 | * @param object $config |
345 | - * @return object the initialized service instance |
|
345 | + * @return \PEIP\INF\Context\ContextPlugin|null the initialized service instance |
|
346 | 346 | */ |
347 | 347 | protected function initService($config) { |
348 | 348 | $id = trim((string)$config['id']); |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * @param array $headers headers of the event-object as key/value pairs |
88 | 88 | * @param string $eventClass event-class to create instances from |
89 | 89 | * @return |
90 | - * @see EventBuilder |
|
90 | + boolean|null @see EventBuilder |
|
91 | 91 | */ |
92 | 92 | public function buildAndNotify($name, $object, array $headers = array(), $eventClass = false, $type = false){ |
93 | 93 | if(!$this->hasListeners($name, ($object))){ |