package and depencies
This commit is contained in:
@@ -90,10 +90,6 @@ abstract class AbstractMultipartPart extends AbstractPart
|
||||
|
||||
private function getBoundary(): string
|
||||
{
|
||||
if (null === $this->boundary) {
|
||||
$this->boundary = strtr(base64_encode(random_bytes(6)), '+/', '-_');
|
||||
}
|
||||
|
||||
return $this->boundary;
|
||||
return $this->boundary ??= strtr(base64_encode(random_bytes(6)), '+/', '-_');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user