forked from GNUsocial/gnu-social
[AUTOGENERATED] Update auto generated code
This commit is contained in:
@@ -88,7 +88,7 @@ class ForeignLink
|
||||
|
||||
public function setCredentials(?string $credentials): self
|
||||
{
|
||||
$this->credentials = $credentials;
|
||||
$this->credentials = mb_substr($credentials, 0, 191);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@@ -60,7 +60,7 @@ class ForeignService
|
||||
|
||||
public function setName(string $name): self
|
||||
{
|
||||
$this->name = $name;
|
||||
$this->name = mb_substr($name, 0, 32);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ class ForeignService
|
||||
|
||||
public function setDescription(?string $description): self
|
||||
{
|
||||
$this->description = $description;
|
||||
$this->description = mb_substr($description, 0, 191);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@@ -72,7 +72,7 @@ class ForeignUser
|
||||
|
||||
public function setUri(string $uri): self
|
||||
{
|
||||
$this->uri = $uri;
|
||||
$this->uri = mb_substr($uri, 0, 191);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ class ForeignUser
|
||||
|
||||
public function setNickname(?string $nickname): self
|
||||
{
|
||||
$this->nickname = $nickname;
|
||||
$this->nickname = mb_substr($nickname, 0, 191);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user