mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
more type hints
This commit is contained in:
parent
767f6b3f6f
commit
e9f6d00a93
28 changed files with 343 additions and 530 deletions
|
|
@ -32,7 +32,7 @@ class StringBuffer {
|
|||
$this->pos = 0;
|
||||
}
|
||||
|
||||
public function push(string $data) {
|
||||
public function push(string $data): int {
|
||||
$this->buffer = $this->flush() . $data;
|
||||
return strlen($data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue