Browse Source

changed `MaximumSize` -> `MaxSize` property

master
Cerys 5 months ago
parent
commit
6724ad2c8c
  1. 6
      src/Attributes/SchemaDocument.php

6
src/Attributes/SchemaDocument.php

@ -10,18 +10,18 @@ use PhpParser\Node\Name;
#[\Attribute]
class SchemaDocument extends Attribute
{
public int $MaximumSize;
public int $MaxSize;
public string $Comment;
public string $MimeType;
public function __construct(
string $Name,
int $MaximumSize = 0,
int $MaxSize = 0,
string $Comment = "",
string $MimeType = ""
)
{
$this->MaximumSize = $MaximumSize;
$this->MaxSize = $MaxSize;
$this->Comment = $Comment;
$this->MimeType = $MimeType;
parent::__construct(new Name("SchemaDocument"), [], []);

Loading…
Cancel
Save