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] #[\Attribute]
class SchemaDocument extends Attribute class SchemaDocument extends Attribute
{ {
public int $MaximumSize; public int $MaxSize;
public string $Comment; public string $Comment;
public string $MimeType; public string $MimeType;
public function __construct( public function __construct(
string $Name, string $Name,
int $MaximumSize = 0, int $MaxSize = 0,
string $Comment = "", string $Comment = "",
string $MimeType = "" string $MimeType = ""
) )
{ {
$this->MaximumSize = $MaximumSize; $this->MaxSize = $MaxSize;
$this->Comment = $Comment; $this->Comment = $Comment;
$this->MimeType = $MimeType; $this->MimeType = $MimeType;
parent::__construct(new Name("SchemaDocument"), [], []); parent::__construct(new Name("SchemaDocument"), [], []);

Loading…
Cancel
Save