@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * @param \AppserverIo\Psr\Socket\SocketInterface $connection The connection to handle |
276 | 276 | * @param \AppserverIo\Server\Interfaces\WorkerInterface $worker The worker how started this handle |
277 | 277 | * |
278 | - * @return bool Weather it was responsible to handle the firstLine or not. |
|
278 | + * @return boolean|null Weather it was responsible to handle the firstLine or not. |
|
279 | 279 | */ |
280 | 280 | public function handle(SocketInterface $connection, WorkerInterface $worker) |
281 | 281 | { |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | * Logs with an arbitrary level. |
369 | 369 | * |
370 | 370 | * @param string $message The message to log |
371 | - * @param mixed $params The params to export |
|
371 | + * @param Interfaces\FrameInterface $params The params to export |
|
372 | 372 | * @param string $level The level to log |
373 | 373 | * |
374 | 374 | * @return void |
@@ -26,13 +26,7 @@ |
||
26 | 26 | use AppserverIo\Stomp\Utils\ErrorMessages; |
27 | 27 | use AppserverIo\Psr\Socket\SocketInterface; |
28 | 28 | use AppserverIo\Stomp\Interfaces\ProtocolHandlerInterface; |
29 | -use AppserverIo\Server\Dictionaries\EnvVars; |
|
30 | -use AppserverIo\Server\Dictionaries\ModuleHooks; |
|
31 | -use AppserverIo\Server\Dictionaries\ServerVars; |
|
32 | 29 | use AppserverIo\Server\Interfaces\RequestContextInterface; |
33 | -use AppserverIo\Psr\Socket\SocketReadException; |
|
34 | -use AppserverIo\Psr\Socket\SocketReadTimeoutException; |
|
35 | -use AppserverIo\Psr\Socket\SocketServerException; |
|
36 | 30 | use Psr\Log\LogLevel; |
37 | 31 | |
38 | 32 | /** |
@@ -178,7 +178,7 @@ |
||
178 | 178 | * Validates the given header value by given key. |
179 | 179 | * |
180 | 180 | * @param string $key The key to find the validation type. |
181 | - * @param string|int $value The value to validated by type. |
|
181 | + * @param string $value The value to validated by type. |
|
182 | 182 | * |
183 | 183 | * @return bool |
184 | 184 | */ |