]> git.mxchange.org Git - friendica.git/commitdiff
remove unnecessary properties from BaseEntity
authorArt4 <art4@wlabs.de>
Sat, 7 Dec 2024 06:58:11 +0000 (06:58 +0000)
committerArt4 <art4@wlabs.de>
Sat, 7 Dec 2024 06:58:11 +0000 (06:58 +0000)
src/BaseEntity.php

index 090851db477d78932bcbb9563b809d688bc92cbf..e4028cdfbe493fd7e12c72697fd762f0a23bdfa7 100644 (file)
@@ -7,9 +7,7 @@
 
 namespace Friendica;
 
-use DateTime;
 use Friendica\Network\HTTPException\InternalServerErrorException;
-use Psr\Http\Message\UriInterface;
 
 /**
  * The Entity classes directly inheriting from this abstract class are meant to represent a single business entity.
@@ -25,53 +23,6 @@ use Psr\Http\Message\UriInterface;
  *
  * Since these objects aren't meant to be using any dependency, including logging, unit tests can and must be
  * written for each and all of their methods
- *
- * @property-read int|null $id
- * @property-read int $uid
- * @property-read string $verb
- * @property-read int|string $type
- * @property-read int $actorId
- * @property-read int $targetUriId
- * @property-read int|null $parentUriId
- * @property-read \DateTime|string $created
- * @property-read bool $seen
- * @property-read bool $dismissed
- * @property-read string $name
- * @property-read UriInterface $url
- * @property-read UriInterface $photo
- * @property-read DateTime $date
- * @property-read string|null $msg
- * @property-read UriInterface $link
- * @property-read int|null $itemId
- * @property-read int|null $parent
- * @property-read string|null $otype
- * @property-read string|null $name_cache
- * @property-read string|null $msg_cache
- * @property-read int|null $uriId
- * @property-read string $cookie_hash
- * @property-read string $user_agent
- * @property-read bool $trusted
- * @property-read string|null $last_used
- * @property-read string $guid
- * @property-read string $addr
- * @property-read UriInterface $alias
- * @property-read string $nick
- * @property-read string $givenName
- * @property-read string $familyName
- * @property-read UriInterface $photoMedium
- * @property-read UriInterface $photoSmall
- * @property-read UriInterface $batch
- * @property-read UriInterface $notify
- * @property-read UriInterface $poll
- * @property-read string $subscribe
- * @property-read bool $searchable
- * @property-read string $pubKey
- * @property-read UriInterface $baseurl
- * @property-read int $gsid
- * @property-read \DateTime $updated
- * @property-read int $interacting_count
- * @property-read int $interacted_count
- * @property-read int $post_count
  */
 abstract class BaseEntity extends BaseDataTransferObject
 {