all the types

This commit is contained in:
Robin Appelman 2021-03-09 20:14:31 +01:00
commit 84fa890ea7
28 changed files with 330 additions and 110 deletions

View file

@ -24,10 +24,12 @@ declare(strict_types=1);
namespace Icewind\SMB;
class StringBuffer {
/** @var string */
private $buffer = "";
/** @var int */
private $pos = 0;
public function clear() {
public function clear(): void {
$this->buffer = "";
$this->pos = 0;
}
@ -58,4 +60,4 @@ class StringBuffer {
return $remaining;
}
}
}