summaryrefslogtreecommitdiffstats
path: root/lib/public/SpeechToText/Events
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-13 12:15:18 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-13 12:15:18 +0200
commit865ebfaf72fa186a18d822e0332a5c5201b9b992 (patch)
treef257294cd608b1103eb5cf35b33240955234644f /lib/public/SpeechToText/Events
parenta8d3fff648c4c6f5be3e37c09f9168e5b7c0e8f8 (diff)
downloadnextcloud-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.php24
-rw-r--r--lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php24
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;