diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-17 17:26:27 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-24 16:21:25 +0100 |
commit | ea23523c70ee562092510ccf88e7aa469aae9ce6 (patch) | |
tree | da0ce15036d2f7b82ef1a0e44adb497c8e951cb3 /apps/testing | |
parent | eb961e47003ee5b6d7328caf10ecd5f53cc93666 (diff) | |
download | nextcloud-server-ea23523c70ee562092510ccf88e7aa469aae9ce6.tar.gz nextcloud-server-ea23523c70ee562092510ccf88e7aa469aae9ce6.zip |
Adapt more code to migration to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/testing')
-rw-r--r-- | apps/testing/lib/Locking/FakeDBLockingProvider.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/testing/lib/Locking/FakeDBLockingProvider.php b/apps/testing/lib/Locking/FakeDBLockingProvider.php index a8a83812749..5f8ea399477 100644 --- a/apps/testing/lib/Locking/FakeDBLockingProvider.php +++ b/apps/testing/lib/Locking/FakeDBLockingProvider.php @@ -25,7 +25,7 @@ namespace OCA\Testing\Locking; use OCP\AppFramework\Utility\ITimeFactory; use OCP\IDBConnection; -use OCP\ILogger; +use Psr\Log\LoggerInterface; class FakeDBLockingProvider extends \OC\Lock\DBLockingProvider { // Lock for 10 hours just to be sure @@ -37,12 +37,11 @@ class FakeDBLockingProvider extends \OC\Lock\DBLockingProvider { */ protected $db; - /** - * @param \OCP\IDBConnection $connection - * @param \OCP\ILogger $logger - * @param \OCP\AppFramework\Utility\ITimeFactory $timeFactory - */ - public function __construct(IDBConnection $connection, ILogger $logger, ITimeFactory $timeFactory) { + public function __construct( + IDBConnection $connection, + LoggerInterface $logger, + ITimeFactory $timeFactory + ) { parent::__construct($connection, $logger, $timeFactory); $this->db = $connection; } |