@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * |
| 98 | 98 | * @param SplFileObject|Stream $document |
| 99 | 99 | * |
| 100 | - * @return Generator|array[] |
|
| 100 | + * @return Generator |
|
| 101 | 101 | */ |
| 102 | 102 | public static function parse($document): Generator |
| 103 | 103 | { |
@@ -492,7 +492,7 @@ |
||
| 492 | 492 | * |
| 493 | 493 | * @see http://php.net/manual/en/splfileobject.fwrite.php |
| 494 | 494 | * |
| 495 | - * @param ?int $length |
|
| 495 | + * @param integer $length |
|
| 496 | 496 | * @return int|false |
| 497 | 497 | */ |
| 498 | 498 | public function fwrite(string $str, ?int $length = null) |