mirror of
https://github.com/friendica/friendica
synced 2025-04-21 23:50:18 +00:00
Replace BaseEntity with BaseDataTransferObject class for API representation classes
This commit is contained in:
parent
3e257d4266
commit
0fc5f26ff7
18 changed files with 53 additions and 49 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
namespace Friendica\Object\Api\Mastodon;
|
||||
|
||||
use Friendica\BaseEntity;
|
||||
use Friendica\BaseDataTransferObject;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\User;
|
||||
|
@ -32,7 +32,7 @@ use Friendica\Module\Register;
|
|||
*
|
||||
* @see https://docs.joinmastodon.org/api/entities/#instance
|
||||
*/
|
||||
class Instance extends BaseEntity
|
||||
class Instance extends BaseDataTransferObject
|
||||
{
|
||||
/** @var string (URL) */
|
||||
protected $uri;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue