Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2019-09-30 22:10:58 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-09-30 22:10:58 +0300
commit5dab8b20593414e54a9053f9a3726fa682b03d00 (patch)
treee3b69ad7215195ca53bc8e89b4d4a01bd931d6fa /lib
parentc6ca2abfcb494dad0bd056582e1edfae45246023 (diff)
adjust prepare method
Diffstat (limited to 'lib')
-rw-r--r--lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index e85cca0..c3dcc6d 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -74,7 +74,7 @@ class Notifier implements INotifier
*
* @return INotification
*/
- public function prepare(INotification $notification, $languageCode)
+ public function prepare(INotification $notification, string $languageCode): INotification
{
if ($notification->getApp() !== Application::APP_ID) {
// Not my app => throw