@@ -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 | {
|
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | - * @param string|int $frame |
|
| 147 | + * @param string $frame |
|
| 148 | 148 | * @param int $from Byte where to start (should be inferior to $to). |
| 149 | 149 | * @param int $to Byte where to stop (considering it starts at 0). The `to` value include the target |
| 150 | 150 | * byte. |