mirror of
https://github.com/friendica/friendica
synced 2025-04-18 13:10:11 +00:00
Fix usage of static
This commit is contained in:
parent
f024de4350
commit
bf04b3e57d
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ class PostMedia extends BaseEntity
|
||||||
$newHeight = $dimensionts['height'];
|
$newHeight = $dimensionts['height'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return new static(
|
return new self(
|
||||||
$this->uriId,
|
$this->uriId,
|
||||||
$this->url,
|
$this->url,
|
||||||
$this->type,
|
$this->type,
|
||||||
|
@ -255,7 +255,7 @@ class PostMedia extends BaseEntity
|
||||||
|
|
||||||
public function withUrl(\GuzzleHttp\Psr7\Uri $url): self
|
public function withUrl(\GuzzleHttp\Psr7\Uri $url): self
|
||||||
{
|
{
|
||||||
return new static(
|
return new self(
|
||||||
$this->uriId,
|
$this->uriId,
|
||||||
$url,
|
$url,
|
||||||
$this->type,
|
$this->type,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue