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,14 +21,14 @@
|
|||
|
||||
namespace Friendica\Object\Api\Twitter;
|
||||
|
||||
use Friendica\BaseEntity;
|
||||
use Friendica\BaseDataTransferObject;
|
||||
use Friendica\Content\ContactSelector;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
|
||||
/**
|
||||
* @see https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/user-object
|
||||
*/
|
||||
class User extends BaseEntity
|
||||
class User extends BaseDataTransferObject
|
||||
{
|
||||
/** @var int */
|
||||
protected $id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue