refactor: object property names
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -24,22 +24,22 @@ abstract class EntityPropertiesMutableAbstract extends EntityPropertiesBaseAbstr
|
||||
}
|
||||
|
||||
public function setLabel(string $value): static {
|
||||
$this->data[self::JSON_PROPERTY_LABEL] = $value;
|
||||
$this->data[self::PROPERTY_LABEL] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setMime(string $value): static {
|
||||
$this->data[self::JSON_PROPERTY_MIME] = $value;
|
||||
$this->data[self::PROPERTY_MIME] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setFormat(string $value): static {
|
||||
$this->data[self::JSON_PROPERTY_FORMAT] = $value;
|
||||
$this->data[self::PROPERTY_FORMAT] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setEncoding(string $value): static {
|
||||
$this->data[self::JSON_PROPERTY_ENCODING] = $value;
|
||||
$this->data[self::PROPERTY_ENCODING] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user