[AUTOGENERATED] Update auto generated code
This commit is contained in:
@@ -50,7 +50,7 @@ class Activity extends Entity
|
||||
private string $object_type;
|
||||
private int $object_id;
|
||||
private ?string $source;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
@@ -76,7 +76,7 @@ class Activity extends Entity
|
||||
|
||||
public function setVerb(string $verb): self
|
||||
{
|
||||
$this->verb = $verb;
|
||||
$this->verb = \mb_substr($verb, 0, 32);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ class Activity extends Entity
|
||||
|
||||
public function setObjectType(string $object_type): self
|
||||
{
|
||||
$this->object_type = $object_type;
|
||||
$this->object_type = \mb_substr($object_type, 0, 32);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ class Activity extends Entity
|
||||
|
||||
public function setSource(?string $source): self
|
||||
{
|
||||
$this->source = $source;
|
||||
$this->source = \mb_substr($source, 0, 32);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -118,13 +118,13 @@ class Activity extends Entity
|
||||
return $this->source;
|
||||
}
|
||||
|
||||
public function setCreated(DateTimeInterface $created): self
|
||||
public function setCreated(\DateTimeInterface $created): self
|
||||
{
|
||||
$this->created = $created;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCreated(): DateTimeInterface
|
||||
public function getCreated(): \DateTimeInterface
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
|
Reference in New Issue
Block a user