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