This commit is contained in:
2021-08-31 13:51:21 +08:00
parent a0bf0d3e66
commit 9d394fa0ff
5 changed files with 166 additions and 490 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ class Stream implements StreamInterface
* @param string $string
* @return int
*/
public function append($string): int
public function append(string $string): int
{
$this->body .= $string;
$this->size = strlen($this->body);