update PHPDoc

This commit is contained in:
Philipp Holzer 2020-01-25 15:31:25 +01:00
parent 0850fb88dd
commit 4c5856da2b
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 10 additions and 1 deletions

View file

@ -14,7 +14,10 @@ use Psr\Log\LoggerInterface;
/** /**
* Model for an entry in the notify table * Model for an entry in the notify table
* - Including additional calculated properties * - Including additional, calculated properties
*
* Is used either for frontend interactions or for API-based interaction
* @see https://github.com/friendica/friendica/blob/develop/doc/API-Entities.md#notification
* *
* @property string hash * @property string hash
* @property integer type * @property integer type

View file

@ -2,6 +2,9 @@
namespace Friendica\Object\Notification; namespace Friendica\Object\Notification;
/**
* A view-only object for printing introduction notifications to the frontend
*/
class Introduction implements \JsonSerializable class Introduction implements \JsonSerializable
{ {
/** @var string */ /** @var string */

View file

@ -2,6 +2,9 @@
namespace Friendica\Object\Notification; namespace Friendica\Object\Notification;
/**
* A view-only object for printing item notifications to the frontend
*/
class Notification implements \JsonSerializable class Notification implements \JsonSerializable
{ {
const SYSTEM = 'system'; const SYSTEM = 'system';