mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Changes:
- added type-hints - added returned type-hints in interface (I checked all)
This commit is contained in:
parent
c0d7f8944d
commit
bff57bb030
6 changed files with 20 additions and 20 deletions
|
@ -1008,7 +1008,7 @@ class Post
|
|||
/**
|
||||
* @return string
|
||||
*/
|
||||
private function getRedirectUrl()
|
||||
private function getRedirectUrl(): string
|
||||
{
|
||||
return $this->redirect_url;
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ class ContactResult implements IResult
|
|||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
public function getUrl(): string
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue