mirror of
https://github.com/friendica/friendica
synced 2025-04-30 23:04:23 +02:00
Refactor OAuth Token
This commit is contained in:
parent
5772c70216
commit
3d97280f52
3 changed files with 45 additions and 25 deletions
|
@ -456,7 +456,7 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
* @param string $content
|
||||
* @param string $type
|
||||
* @param string|null $content_type
|
||||
* @return void
|
||||
* @return never
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public function httpExit(string $content, string $type = Response::TYPE_HTML, ?string $content_type = null)
|
||||
|
@ -493,7 +493,7 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
* @param mixed $content
|
||||
* @param string $content_type
|
||||
* @param int $options A combination of json_encode() binary flags
|
||||
* @return void
|
||||
* @return never
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
* @see json_encode()
|
||||
*/
|
||||
|
@ -508,7 +508,7 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
* @param int $httpCode
|
||||
* @param mixed $content
|
||||
* @param string $content_type
|
||||
* @return void
|
||||
* @return never
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public function jsonError(int $httpCode, $content, string $content_type = 'application/json')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue