@@ -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))){
|
@@ -43,18 +43,18 @@ |
||
| 43 | 43 | } |
| 44 | 44 | } //put your code here |
| 45 | 45 | |
| 46 | - /** |
|
| 47 | - * Creates an event-object with given object as content/subject and notifies |
|
| 48 | - * all registers listeners of the event. |
|
| 49 | - * |
|
| 50 | - * @access public |
|
| 51 | - * @param string $name name of the event |
|
| 52 | - * @param object $object the subject of the event |
|
| 53 | - * @param array $headers headers of the event-object as key/value pairs |
|
| 54 | - * @param string $eventClass event-class to create instances from |
|
| 55 | - * @return |
|
| 46 | + /** |
|
| 47 | + * Creates an event-object with given object as content/subject and notifies |
|
| 48 | + * all registers listeners of the event. |
|
| 49 | + * |
|
| 50 | + * @access public |
|
| 51 | + * @param string $name name of the event |
|
| 52 | + * @param object $object the subject of the event |
|
| 53 | + * @param array $headers headers of the event-object as key/value pairs |
|
| 54 | + * @param string $eventClass event-class to create instances from |
|
| 55 | + * @return |
|
| 56 | 56 | boolean|null @see EventBuilder |
| 57 | - */ |
|
| 57 | + */ |
|
| 58 | 58 | public function buildAndNotify($name, $object, array $headers = array(), $eventClass = false, $type = false) { |
| 59 | 59 | if (!$this->hasListeners($name, ($object))) { |
| 60 | 60 | return false; |