Fix typehint

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-10-10 22:13:27 +02:00
parent 2806a4bca7
commit 3c173378e8
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@
* @author Roeland Jago Douma <rullzer@owncloud.com> * @author Roeland Jago Douma <rullzer@owncloud.com>
* *
* @copyright Copyright (c) 2015, ownCloud, Inc. * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright Copyright (c) 2016, Roeland Jago Douma <roeland@famdouma.nl>
* @license AGPL-3.0 * @license AGPL-3.0
* *
* This code is free software: you can redistribute it and/or modify * This code is free software: you can redistribute it and/or modify
@ -20,7 +21,6 @@
*/ */
namespace Test\Share20; namespace Test\Share20;
use OC\Authentication\Token\DefaultTokenMapper;
use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\Files\File; use OCP\Files\File;
use OCP\Files\Folder; use OCP\Files\Folder;
@ -485,7 +485,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$share->method('getId')->willReturn($id); $share->method('getId')->willReturn($id);
$share->method('getShareType')->willReturn(\OCP\Share::SHARE_TYPE_GROUP); $share->method('getShareType')->willReturn(\OCP\Share::SHARE_TYPE_GROUP);
/** @var DefaultTokenMapper $provider */ /** @var DefaultShareProvider $provider */
$provider = $this->getMockBuilder(DefaultShareProvider::class) $provider = $this->getMockBuilder(DefaultShareProvider::class)
->setConstructorArgs([ ->setConstructorArgs([
$this->dbConn, $this->dbConn,