Compare commits
3 Commits
e4f8f44aef
...
11b7dc4229
Author | SHA1 | Date | |
---|---|---|---|
11b7dc4229 | |||
8b4e2cb9f0 | |||
7bd192980f |
@ -46,9 +46,6 @@ final class Dynamic extends Send
|
||||
case 'mtime':
|
||||
return $this->sent->timestamp;
|
||||
|
||||
case 'size':
|
||||
return strlen($this->buffer);
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
@ -104,6 +101,7 @@ 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