mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
all the types
This commit is contained in:
parent
515b42586e
commit
84fa890ea7
28 changed files with 330 additions and 110 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue