@@ -79,7 +79,6 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Constructor. |
| 81 | 81 | * |
| 82 | - * @param Database $db |
|
| 83 | 82 | * @param LoggerInterface $logger |
| 84 | 83 | */ |
| 85 | 84 | public function __construct(SocketFactory $factory, LoggerInterface $logger, ?Iterable $config = null) |
@@ -45,7 +45,6 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * Constructor. |
| 47 | 47 | * |
| 48 | - * @param Async $async |
|
| 49 | 48 | */ |
| 50 | 49 | public function __construct(Converter $converter, Server $server, LoggerInterface $logger) |
| 51 | 50 | { |
@@ -57,8 +56,6 @@ discard block |
||
| 57 | 56 | /** |
| 58 | 57 | * Start job. |
| 59 | 58 | * |
| 60 | - * @param Server $server |
|
| 61 | - * @param LoggerInterface $logger |
|
| 62 | 59 | * |
| 63 | 60 | * @return bool |
| 64 | 61 | */ |
@@ -148,7 +148,7 @@ |
||
| 148 | 148 | * @param ObjectId $session_id |
| 149 | 149 | * @param string $access_token |
| 150 | 150 | * |
| 151 | - * @return Session |
|
| 151 | + * @return Session|null |
|
| 152 | 152 | */ |
| 153 | 153 | public static function getByAccessToken(Server $server, ObjectId $session_id, string $access_token): self |
| 154 | 154 | { |
@@ -35,7 +35,6 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Constructor. |
| 37 | 37 | * |
| 38 | - * @param App $app |
|
| 39 | 38 | * @param Server $server |
| 40 | 39 | */ |
| 41 | 40 | public function __construct(PreviewCreator $preview, Server $server) |
@@ -31,8 +31,6 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Constructor. |
| 33 | 33 | * |
| 34 | - * @param Router $router |
|
| 35 | - * @param Hook $hook |
|
| 36 | 34 | */ |
| 37 | 35 | public function __construct(Database $db, LoggerInterface $logger, Converter $converter) |
| 38 | 36 | { |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | * Create result. |
| 33 | 33 | * |
| 34 | 34 | * @param string $path |
| 35 | - * @param resource $stream |
|
| 36 | - * @param null|mixed $resource |
|
| 35 | + * @param resource $resource |
|
| 37 | 36 | */ |
| 38 | 37 | public function __construct(string $path, $resource = null) |
| 39 | 38 | { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | /** |
| 311 | 311 | * Get real id (reference). |
| 312 | 312 | * |
| 313 | - * @return ObjectId |
|
| 313 | + * @return ObjectId|null |
|
| 314 | 314 | */ |
| 315 | 315 | public function getRealId(): ?ObjectId |
| 316 | 316 | { |
@@ -339,10 +339,9 @@ discard block |
||
| 339 | 339 | /** |
| 340 | 340 | * Fetch children items of this collection. |
| 341 | 341 | * |
| 342 | - * @param string $node |
|
| 343 | 342 | * @param int $deleted |
| 344 | 343 | * @param array $filter |
| 345 | - * @param mixed $name |
|
| 344 | + * @param string $name |
|
| 346 | 345 | * |
| 347 | 346 | * @return NodeInterface |
| 348 | 347 | */ |
@@ -922,7 +921,7 @@ discard block |
||
| 922 | 921 | * @param string $name |
| 923 | 922 | * @param string $data |
| 924 | 923 | * |
| 925 | - * @return File |
|
| 924 | + * @return string |
|
| 926 | 925 | */ |
| 927 | 926 | public function createFile($name, $data = null): String |
| 928 | 927 | { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Delete file. |
| 31 | 31 | * |
| 32 | - * @param string $id |
|
| 33 | 32 | * @param array $attributes |
| 34 | 33 | * |
| 35 | 34 | * @return bool |
@@ -58,7 +58,6 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * Inject hook. |
| 60 | 60 | * |
| 61 | - * @param HookInterface $adapter |
|
| 62 | 61 | * |
| 63 | 62 | * @return AdapterAwareInterface |
| 64 | 63 | */ |
@@ -198,7 +197,7 @@ discard block |
||
| 198 | 197 | * |
| 199 | 198 | * @param string $name |
| 200 | 199 | * |
| 201 | - * @return mixed |
|
| 200 | + * @return HookInterface |
|
| 202 | 201 | */ |
| 203 | 202 | public function getAdapter(string $name) |
| 204 | 203 | { |