From 70b9a8114db958ccdbfafad5ebc2329c7900c981 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 13 Jun 2022 10:30:21 +0000 Subject: [PATCH] Improve license comment --- src/Model/Contact.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 6ee4582bc..fedf6c839 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1861,15 +1861,19 @@ class Contact break; case 'peertube': - /** - * Picture credits - * @license GNU Affero General Public License v3.0 - */ if ($type == Contact::TYPE_COMMUNITY) { - // @link https://github.com/Chocobozzz/PeerTube/blob/develop/client/src/assets/images/default-avatar-video-channel.png + /** + * Picture credits + * @license GNU Affero General Public License v3.0 + * @link https://github.com/Chocobozzz/PeerTube/blob/develop/client/src/assets/images/default-avatar-video-channel.png + */ $default = '/images/default/peertube-channel.png'; } else { - // @link https://github.com/Chocobozzz/PeerTube/blob/develop/client/src/assets/images/default-avatar-account.png + /** + * Picture credits + * @license GNU Affero General Public License v3.0 + * @link https://github.com/Chocobozzz/PeerTube/blob/develop/client/src/assets/images/default-avatar-account.png + */ $default = '/images/default/peertube-account.png'; } break;