update patch 1
This commit is contained in:
+4
-6
@@ -18,12 +18,10 @@ use Symfony\Component\Mime\Header\UnstructuredHeader;
|
||||
*/
|
||||
final class MetadataHeader extends UnstructuredHeader
|
||||
{
|
||||
private string $key;
|
||||
|
||||
public function __construct(string $key, string $value)
|
||||
{
|
||||
$this->key = $key;
|
||||
|
||||
public function __construct(
|
||||
private string $key,
|
||||
string $value,
|
||||
) {
|
||||
parent::__construct('X-Metadata-'.$key, $value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user