diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-05 15:02:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-08 08:56:53 +0100 |
commit | 109b84b025f75d84845a4a5a299861242d4fa43f (patch) | |
tree | 53d3caa5628efc5dc4a79d37c1476e589302f2ed /apps/admin_audit/tests | |
parent | f5dc657e941e23a98ef8f040d61149a671bcb5da (diff) | |
download | nextcloud-server-109b84b025f75d84845a4a5a299861242d4fa43f.tar.gz nextcloud-server-109b84b025f75d84845a4a5a299861242d4fa43f.zip |
Add return type to functions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/admin_audit/tests')
-rw-r--r-- | apps/admin_audit/tests/Actions/SecurityTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/admin_audit/tests/Actions/SecurityTest.php b/apps/admin_audit/tests/Actions/SecurityTest.php index 6a4766fc2e3..fab598615b3 100644 --- a/apps/admin_audit/tests/Actions/SecurityTest.php +++ b/apps/admin_audit/tests/Actions/SecurityTest.php @@ -28,12 +28,12 @@ declare(strict_types=1); namespace OCA\AdminAudit\Tests\Actions; use OCA\AdminAudit\Actions\Security; -use OCP\ILogger; use OCP\IUser; +use Psr\Log\LoggerInterface; use Test\TestCase; class SecurityTest extends TestCase { - /** @var ILogger|\PHPUnit\Framework\MockObject\MockObject */ + /** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */ private $logger; /** @var Security */ @@ -45,7 +45,7 @@ class SecurityTest extends TestCase { protected function setUp(): void { parent::setUp(); - $this->logger = $this->createMock(ILogger::class); + $this->logger = $this->createMock(LoggerInterface::class); $this->security = new Security($this->logger); $this->user = $this->createMock(IUser::class); |