@@ -47,7 +47,7 @@ |
||
47 | 47 | * instance to execute the command on. |
48 | 48 | * |
49 | 49 | * @param \React\Socket\ConnectionInterface $connection The connection instance |
50 | - * @param AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer The application server instance |
|
50 | + * @param ApplicationServerInterface $applicationServer The application server instance |
|
51 | 51 | */ |
52 | 52 | public function __construct(ConnectionInterface $connection, ApplicationServerInterface $applicationServer) |
53 | 53 | { |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * instance to execute the command on. |
48 | 48 | * |
49 | 49 | * @param \React\Socket\ConnectionInterface $connection The connection instance |
50 | - * @param AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer The application server instance |
|
50 | + * @param ApplicationServerInterface $applicationServer The application server instance |
|
51 | 51 | */ |
52 | 52 | public function __construct(ConnectionInterface $connection, ApplicationServerInterface $applicationServer) |
53 | 53 | { |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * instance to execute the command on. |
48 | 48 | * |
49 | 49 | * @param \React\Socket\ConnectionInterface $connection The connection instance |
50 | - * @param AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer The application server instance |
|
50 | + * @param ApplicationServerInterface $applicationServer The application server instance |
|
51 | 51 | */ |
52 | 52 | public function __construct(ConnectionInterface $connection, ApplicationServerInterface $applicationServer) |
53 | 53 | { |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * instance to execute the command on. |
48 | 48 | * |
49 | 49 | * @param \React\Socket\ConnectionInterface $connection The connection instance |
50 | - * @param AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer The application server instance |
|
50 | + * @param ApplicationServerInterface $applicationServer The application server instance |
|
51 | 51 | */ |
52 | 52 | public function __construct(ConnectionInterface $connection, ApplicationServerInterface $applicationServer) |
53 | 53 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * Initialize and start the management console. |
69 | 69 | * |
70 | 70 | * @param \AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer The reference to the server |
71 | - * @param \AppserverIo\Appserver\Api\Node\ConsoleNodeInterface $consoleNode The console configuration |
|
71 | + * @param ConsoleNodeInterface $consoleNode The console configuration |
|
72 | 72 | * |
73 | 73 | * @return void |
74 | 74 | */ |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use AppserverIo\Appserver\Core\AbstractExtractor; |
23 | 23 | use AppserverIo\Appserver\Core\Interfaces\ExtractorInterface; |
24 | 24 | use AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface; |
25 | -use PDepend\Util\FileUtil; |
|
26 | 25 | use AppserverIo\Appserver\Core\Utilities\FileSystem; |
27 | 26 | |
28 | 27 | /** |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @param \AppserverIo\Server\Interfaces\ServerContextInterface $serverContext The server's context instance |
70 | 70 | * |
71 | - * @return bool |
|
71 | + * @return boolean|null |
|
72 | 72 | * @throws \AppserverIo\Server\Exceptions\ModuleException |
73 | 73 | */ |
74 | 74 | public function init(ServerContextInterface $serverContext) |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param \AppserverIo\Server\Interfaces\RequestContextInterface $requestContext A requests context instance |
92 | 92 | * @param int $hook The current hook to process logic for |
93 | 93 | * |
94 | - * @return bool |
|
94 | + * @return boolean|null |
|
95 | 95 | * @throws \AppserverIo\Server\Exceptions\ModuleException |
96 | 96 | */ |
97 | 97 | public function process( |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Prepares the module for upcoming request in specific context |
132 | 132 | * |
133 | - * @return bool |
|
133 | + * @return boolean|null |
|
134 | 134 | * @throws \AppserverIo\Server\Exceptions\ModuleException |
135 | 135 | */ |
136 | 136 | public function prepare() |
@@ -96,7 +96,7 @@ |
||
96 | 96 | /** |
97 | 97 | * Getter for the heartbeat file path |
98 | 98 | * |
99 | - * @return string |
|
99 | + * @return \SplFileInfo |
|
100 | 100 | */ |
101 | 101 | public function getHeartbeatFile() |
102 | 102 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @param string $path Relative or absolute path to a file or directory which should be processed. |
53 | 53 | * @param int $perm The permissions any file or dir should get. |
54 | 54 | |
55 | - * @return bool |
|
55 | + * @return null|boolean |
|
56 | 56 | */ |
57 | 57 | public static function chmod($path, $perm) |
58 | 58 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @param int $user The user that should gain owner rights. |
74 | 74 | * @param int|null $group The group that should gain group rights. |
75 | 75 | * |
76 | - * @return bool |
|
76 | + * @return null|boolean |
|
77 | 77 | */ |
78 | 78 | public static function chown($path, $user, $group = null) |
79 | 79 | { |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | * @param int $filePerm The permissions any found files should get. |
340 | 340 | * @param int $dirPerm The permissions any found folder should get. |
341 | 341 | * |
342 | - * @return void |
|
342 | + * @return null|false |
|
343 | 343 | */ |
344 | 344 | public static function recursiveChmod($path, $filePerm = 0644, $dirPerm = 0755) |
345 | 345 | { |