mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
Cleanup Code
This commit is contained in:
parent
263774eb46
commit
d4387d45ee
18 changed files with 86 additions and 78 deletions
|
@ -40,7 +40,6 @@ class Error extends BaseDataTransferObject
|
|||
*
|
||||
* @param string $error
|
||||
* @param string error_description
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public function __construct(string $error, string $error_description)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
|
||||
namespace Friendica\Object\Api\Mastodon;
|
||||
|
||||
use Exception;
|
||||
use Friendica\BaseDataTransferObject;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
/**
|
||||
|
@ -45,8 +47,7 @@ class Notification extends BaseDataTransferObject
|
|||
/**
|
||||
* Creates a notification record
|
||||
*
|
||||
* @param array $item
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws HttpException\InternalServerErrorException|Exception
|
||||
*/
|
||||
public function __construct(int $id, string $type, string $created_at, Account $account = null, Status $status = null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue