updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -28,14 +28,12 @@ class TE implements HeaderInterface
}
// @todo implementation details
$header = new static($value);
return $header;
return new static($value);
}
public function __construct($value = null)
{
if ($value) {
if ($value !== null) {
HeaderValue::assertValid($value);
$this->value = $value;
}
@@ -48,7 +46,7 @@ class TE implements HeaderInterface
public function getFieldValue()
{
return $this->value;
return (string) $this->value;
}
public function toString()