@@ -53,8 +53,8 @@ |
||
53 | 53 | /** |
54 | 54 | * Returns an specific options in certain wrapper section |
55 | 55 | * |
56 | - * @param unknown $wrapper The wrapper section of the option |
|
57 | - * @param unknown $option The option key to get the value for |
|
56 | + * @param string $wrapper The wrapper section of the option |
|
57 | + * @param string $option The option key to get the value for |
|
58 | 58 | * |
59 | 59 | * @return mixed The options value null if nothing exists |
60 | 60 | */ |
@@ -213,7 +213,7 @@ |
||
213 | 213 | /** |
214 | 214 | * Logs with an arbitrary level. |
215 | 215 | * |
216 | - * @param mixed $level The log level |
|
216 | + * @param string $level The log level |
|
217 | 217 | * @param string $message The message to log |
218 | 218 | * @param array $context The context for log |
219 | 219 | * |
@@ -410,7 +410,7 @@ |
||
410 | 410 | /** |
411 | 411 | * Returns the connection resource |
412 | 412 | * |
413 | - * @return mixed |
|
413 | + * @return resource |
|
414 | 414 | */ |
415 | 415 | public function getConnectionResource() |
416 | 416 | { |
@@ -20,18 +20,12 @@ |
||
20 | 20 | |
21 | 21 | namespace AppserverIo\Server\Workers; |
22 | 22 | |
23 | -use AppserverIo\Server\Dictionaries\ServerVars; |
|
24 | -use AppserverIo\Server\Interfaces\ConfigInterface; |
|
25 | -use AppserverIo\Server\Interfaces\ConnectionHandlerInterface; |
|
26 | -use AppserverIo\Server\Interfaces\RequestContextInterface; |
|
27 | 23 | use AppserverIo\Server\Interfaces\ServerContextInterface; |
28 | -use AppserverIo\Server\Interfaces\ServerInterface; |
|
29 | 24 | use AppserverIo\Server\Interfaces\WorkerInterface; |
30 | 25 | use AppserverIo\Server\Exceptions\ModuleNotFoundException; |
31 | 26 | use AppserverIo\Server\Exceptions\ConnectionHandlerNotFoundException; |
32 | 27 | use AppserverIo\Server\RequestHandlerThread; |
33 | 28 | use AppserverIo\Server\Sockets\SocketInterface; |
34 | -use AppserverIo\Server\Sockets\StreamSocket; |
|
35 | 29 | |
36 | 30 | /** |
37 | 31 | * Class ThreadWorker |