Skip to content

Commit

Permalink
fix(tests): Fix PHP 8.0 compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc authored and backportbot[bot] committed Aug 14, 2024
1 parent 03d7d6a commit 3ec9d11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib/Share20/DefaultShareProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ class DefaultShareProviderTest extends \Test\TestCase {
/** @var ITimeFactory|MockObject */
protected $timeFactory;

protected IShareManager&MockObject $shareManager;
/** @var IShareManager&MockObject */
protected $shareManager;

protected function setUp(): void {
$this->dbConn = \OC::$server->getDatabaseConnection();
Expand Down

0 comments on commit 3ec9d11

Please sign in to comment.