@@ -413,7 +413,6 @@ |
||
| 413 | 413 | * Updates a record. |
| 414 | 414 | * |
| 415 | 415 | * @param \MongoDB\BSON\ObjectID|string $id The document identifier, either a string or `ObjectID` |
| 416 | - * @param array<string,array<string,mixed>> $operations The operations to send to MongoDB |
|
| 417 | 416 | * @param $version - Optional version for optimistic lock checking |
| 418 | 417 | * @return - Whatever MongoDB returns |
| 419 | 418 | * @throws \Caridea\Dao\Exception\Unreachable If the connection fails |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | * cURL handle will be created for you), and the cURL request will be executed |
| 93 | 93 | * and the `string` result will be retuned. |
| 94 | 94 | * |
| 95 | - * @param resource|string $urlOrHandle - An existing cURL handle or a |
|
| 95 | + * @param resource $urlOrHandle - An existing cURL handle or a |
|
| 96 | 96 | * `string` URL. String URLs will create a default cURL GET handle. |
| 97 | 97 | * @return - The `string` result of the cURL request. |
| 98 | 98 | * @throws \Minotaur\Net\Exception\Unreachable if the remote server cannot be reached |
@@ -40,7 +40,6 @@ |
||
| 40 | 40 | * |
| 41 | 41 | * @param \Psr\Http\Message\ServerRequestInterface $request The server request |
| 42 | 42 | * @param \Psr\Http\Message\ResponseInterface $response The response |
| 43 | - * @param callable $callable A function accepting a Request and a Response, returning a Response. |
|
| 44 | 43 | * @return \Psr\Http\Message\ResponseInterface The response |
| 45 | 44 | */ |
| 46 | 45 | public function __invoke(Request $request, Response $response, callable $next): Response; |
@@ -45,6 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @inheritDoc |
| 48 | + * @param string $val |
|
| 48 | 49 | */ |
| 49 | 50 | public function setAttribute(string $attr, $val) |
| 50 | 51 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * Gets a `Map` of the request body content. |
| 35 | 35 | * |
| 36 | 36 | * @param $request - The request |
| 37 | - * @return array<string,mixed> The Map of request body content |
|
| 37 | + * @return \ConstMap The Map of request body content |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getParsedBodyMap(Request $request): \ConstMap |
| 40 | 40 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * Gets a `Map` of the request query params. |
| 47 | 47 | * |
| 48 | 48 | * @param $request - The request |
| 49 | - * @return array<string,mixed> The Map of query params |
|
| 49 | + * @return \ConstMap The Map of query params |
|
| 50 | 50 | */ |
| 51 | 51 | protected function getQueryParamsMap(Request $request): \ConstMap |
| 52 | 52 | { |