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

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Status.php')
-rw-r--r--lib/Status.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/Status.php b/lib/Status.php
index 688eb51..d1077cd 100644
--- a/lib/Status.php
+++ b/lib/Status.php
@@ -10,7 +10,7 @@ namespace OCA\Files_Antivirus;
use OCA\Files_Antivirus\Db\Rule;
use OCA\Files_Antivirus\Db\RuleMapper;
-use OCP\ILogger;
+use Psr\Log\LoggerInterface;
class Status {
@@ -39,11 +39,8 @@ class Status {
*/
protected $details = '';
- /** @var RuleMapper */
- protected $ruleMapper;
-
- /** @var ILogger */
- protected $logger;
+ protected RuleMapper $ruleMapper;
+ protected LoggerInterface $logger;
/**
* Status constructor.
@@ -51,7 +48,7 @@ class Status {
* @param RuleMapper $ruleMapper
* @param ILogger $logger
*/
- public function __construct(RuleMapper $ruleMapper, ILogger $logger) {
+ public function __construct(RuleMapper $ruleMapper, LoggerInterface $logger) {
$this->ruleMapper = $ruleMapper;
$this->logger = $logger;
}