mirror of
https://github.com/friendica/friendica
synced 2025-02-02 02:59:47 +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'];
|
||||
}
|
||||
|
||||
return new static(
|
||||
return new self(
|
||||
$this->uriId,
|
||||
$this->url,
|
||||
$this->type,
|
||||
|
@ -255,7 +255,7 @@ class PostMedia extends BaseEntity
|
|||
|
||||
public function withUrl(\GuzzleHttp\Psr7\Uri $url): self
|
||||
{
|
||||
return new static(
|
||||
return new self(
|
||||
$this->uriId,
|
||||
$url,
|
||||
$this->type,
|
||||
|
|
Loading…
Add table
Reference in a new issue