@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * @access public |
163 | 163 | * @param $name |
164 | 164 | * @param $subject |
165 | - * @return mixed |
|
165 | + * @return \PEIP\INF\Handler\Handler |
|
166 | 166 | */ |
167 | 167 | public function notifyUntil($name, $subject){ |
168 | 168 | if($this->hasListeners($name, $subject)){ |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | * @access protected |
206 | 206 | * @param $name |
207 | 207 | * @param $object |
208 | - * @return boolean |
|
208 | + * @return boolean|null |
|
209 | 209 | */ |
210 | 210 | protected static function doNotify(array $listeners, $subject){ |
211 | 211 | foreach($listeners as $listener){ |
@@ -49,7 +49,6 @@ |
||
49 | 49 | * @access public |
50 | 50 | * @param mixed $subject the subject for the event |
51 | 51 | * @param string $name the name of the event |
52 | - * @param array|ArrayAccess $headers the headers for the event |
|
53 | 52 | */ |
54 | 53 | public function __construct($subject, $name, $parameters = array(), $type = false){ |
55 | 54 | parent::__construct($subject, Test::ensureArrayAccess($parameters)); |
@@ -83,7 +83,6 @@ |
||
83 | 83 | * @param ObjectEventDispatcher $dispatcher the dispatcher to dispatch the event |
84 | 84 | * @param mixed $subject the subject for the event |
85 | 85 | * @param string $name the name of the event |
86 | - * @param array $parameters the headers for the event |
|
87 | 86 | * @return |
88 | 87 | */ |
89 | 88 | public function buildAndDispatch(ObjectEventDispatcher $dispatcher, $subject, $name, array $headers = array()){ |
@@ -47,6 +47,9 @@ |
||
47 | 47 | return new DedicatedFactory(array($class, '__construct'), $parameters); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string[] $callable |
|
52 | + */ |
|
50 | 53 | public static function getfromCallable($callable, array $parameters = array()){ |
51 | 54 | return new DedicatedFactory($callable, $parameters); |
52 | 55 | } |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * @see GenericBuilder |
72 | 72 | * @static |
73 | 73 | * @access protected |
74 | - * @param object $className name of class to build instance for. |
|
74 | + * @param string $className name of class to build instance for. |
|
75 | 75 | * @param array $arguments arguments for the constructor |
76 | 76 | * @return object build and modified srvice instance |
77 | 77 | */ |
@@ -56,7 +56,6 @@ |
||
56 | 56 | * sets the channel to send requests from the gateway |
57 | 57 | * |
58 | 58 | * @access public |
59 | - * @param \PEIP\INF\Channel\Channel $replyChannel The default channel to receive requests from the gateway |
|
60 | 59 | * @return |
61 | 60 | */ |
62 | 61 | public function setRequestChannel(\PEIP\INF\Channel\Channel $requestChannel){ |
@@ -33,10 +33,10 @@ |
||
33 | 33 | * Send a message, blocking until either the message is accepted or the |
34 | 34 | * specified timeout period elapses. |
35 | 35 | * |
36 | - * @param message the {@link Message} to send |
|
37 | - * @param timeout the timeout in milliseconds |
|
36 | + * @param message \PEIP\INF\Message\Message {@link Message} to send |
|
37 | + * @param timeout integer timeout in milliseconds |
|
38 | 38 | * |
39 | - * @return <code>true</code> if the message is sent successfully, |
|
39 | + * @return void if the message is sent successfully, |
|
40 | 40 | * <code>false</false> if the specified timeout period elapses or |
41 | 41 | * the send is interrupted |
42 | 42 | */ |
@@ -64,7 +64,6 @@ |
||
64 | 64 | * @static |
65 | 65 | * @access public |
66 | 66 | * @implements \PEIP\INF\Base\Buildable |
67 | - * @param string $name the name of the header |
|
68 | 67 | * @return boolean wether the header is set |
69 | 68 | */ |
70 | 69 | public static function build(array $arguments = array()){ |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @access public |
45 | - * @param $eventName |
|
45 | + * @param string $eventName |
|
46 | 46 | * @return |
47 | 47 | */ |
48 | 48 | public function setEventName($eventName){ |