Changes:
- added some missing type-hints - added some documentation - added some empty lines to `@return` statements (code-style convention)
This commit is contained in:
parent
33c7abd376
commit
074bae33c9
12 changed files with 30 additions and 5 deletions
|
@ -45,6 +45,12 @@ class Notification extends BaseFactory
|
|||
$this->mstdnStatusFactory = $mstdnStatusFactoryFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Notifications\Entity\Notification $Notification
|
||||
*
|
||||
* @return MstdnNotification
|
||||
* @throws UnexpectedNotificationTypeException
|
||||
*/
|
||||
public function createFromNotification(Notifications\Entity\Notification $Notification): MstdnNotification
|
||||
{
|
||||
$type = self::getType($Notification);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue