@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * JSONRequestData constructor. |
15 | - * @param $body |
|
15 | + * @param string $body |
|
16 | 16 | * @throws InvalidRequestDataException |
17 | 17 | */ |
18 | 18 | public function __construct($body) |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Attempts to find a specific key in the parsed data. Returns true if found else false |
50 | 50 | * @param string $key |
51 | - * @return mixed |
|
51 | + * @return boolean |
|
52 | 52 | */ |
53 | 53 | public function has(string $key): bool |
54 | 54 | { |