Compare commits
3 Commits
e4f8f44aef
...
11b7dc4229
Author | SHA1 | Date | |
---|---|---|---|
11b7dc4229 | |||
8b4e2cb9f0 | |||
7bd192980f |
@ -46,9 +46,6 @@ final class Dynamic extends Send
|
|||||||
case 'mtime':
|
case 'mtime':
|
||||||
return $this->sent->timestamp;
|
return $this->sent->timestamp;
|
||||||
|
|
||||||
case 'size':
|
|
||||||
return strlen($this->buffer);
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -104,6 +101,7 @@ final class Dynamic extends Send
|
|||||||
public function open(string $compress=''): bool
|
public function open(string $compress=''): bool
|
||||||
{
|
{
|
||||||
$this->buffer = (string)$this->item;
|
$this->buffer = (string)$this->item;
|
||||||
|
$this->size = strlen($this->buffer);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user