mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-06 13:29:43 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -96,12 +96,6 @@ class StoredObject implements AsyncFileInterface, Document, TrackCreationInterfa
|
||||
*/
|
||||
private ?DocGeneratorTemplate $template = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="text", options={"default": "ready"})
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private string $status;
|
||||
|
||||
/**
|
||||
* Store the number of times a generation has been tryied for this StoredObject.
|
||||
*
|
||||
@@ -115,10 +109,13 @@ class StoredObject implements AsyncFileInterface, Document, TrackCreationInterfa
|
||||
/**
|
||||
* @param StoredObject::STATUS_* $status
|
||||
*/
|
||||
public function __construct(string $status = "ready")
|
||||
{
|
||||
public function __construct(/**
|
||||
* @ORM\Column(type="text", options={"default": "ready"})
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private string $status = "ready"
|
||||
) {
|
||||
$this->uuid = Uuid::uuid4();
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
public function addGenerationTrial(): self
|
||||
|
Reference in New Issue
Block a user