mirror of
https://github.com/friendica/friendica
synced 2025-04-29 05:04:24 +02:00
Add return type never, fix more errors
This commit is contained in:
parent
12ed714a9e
commit
24f75cd618
5 changed files with 26 additions and 5 deletions
|
@ -393,6 +393,8 @@ class System
|
|||
|
||||
/**
|
||||
* Exit the program execution.
|
||||
*
|
||||
* @return never
|
||||
*/
|
||||
public static function exit()
|
||||
{
|
||||
|
@ -506,6 +508,8 @@ class System
|
|||
* @throws TemporaryRedirectException
|
||||
*
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*
|
||||
* @return never
|
||||
*/
|
||||
public static function externalRedirect($url, $code = 302)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue