@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | /** |
59 | 59 | * @param string $name |
60 | - * @param mixed $value |
|
60 | + * @param string $value |
|
61 | 61 | * @return self |
62 | 62 | */ |
63 | 63 | public function add(string $name, $value) |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * It also run checks on data. |
142 | 142 | * |
143 | - * @param string|int $rawData Probably more likely a string than an int, but well... why not. |
|
143 | + * @param string $rawData Probably more likely a string than an int, but well... why not. |
|
144 | 144 | * @return self |
145 | 145 | * @throws IncompleteFrameException |
146 | 146 | */ |
@@ -47,7 +47,7 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @param \Exception|string $error |
|
50 | + * @param \Exception $error |
|
51 | 51 | */ |
52 | 52 | private function onError($error) |
53 | 53 | { |