diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-04-13 12:15:18 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-04-13 12:15:18 +0200 |
commit | 865ebfaf72fa186a18d822e0332a5c5201b9b992 (patch) | |
tree | f257294cd608b1103eb5cf35b33240955234644f /lib/public/SpeechToText/Events | |
parent | a8d3fff648c4c6f5be3e37c09f9168e5b7c0e8f8 (diff) | |
download | nextcloud-server-865ebfaf72fa186a18d822e0332a5c5201b9b992.tar.gz nextcloud-server-865ebfaf72fa186a18d822e0332a5c5201b9b992.zip |
Add missing strict_types + author + copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public/SpeechToText/Events')
-rw-r--r-- | lib/public/SpeechToText/Events/TranscriptionFailedEvent.php | 24 | ||||
-rw-r--r-- | lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php index 3a490995c10..b7e44d91c69 100644 --- a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php +++ b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php @@ -1,5 +1,29 @@ <?php +declare(strict_types=1); + +/** + * @copyright Copyright (c) 2023 Marcel Klehr <mklehr@gmx.net> + * + * @author Marcel Klehr <mklehr@gmx.net> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + namespace OCP\SpeechToText\Events; class TranscriptionFailedEvent extends AbstractTranscriptionEvent { diff --git a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php index 63644b98f6d..816dabafbb4 100644 --- a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php +++ b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php @@ -1,5 +1,29 @@ <?php +declare(strict_types=1); + +/** + * @copyright Copyright (c) 2023 Marcel Klehr <mklehr@gmx.net> + * + * @author Marcel Klehr <mklehr@gmx.net> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + namespace OCP\SpeechToText\Events; use OCP\Files\File; |