diff --git a/composer.lock b/composer.lock index 485dfccf6..5cc62283d 100644 --- a/composer.lock +++ b/composer.lock @@ -786,12 +786,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "712a6be217b6f046095e8548cfb50dfbb11e43fe" + "reference": "45d3f259c6a80f838317e2f9467af55d9132f058" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/712a6be217b6f046095e8548cfb50dfbb11e43fe", - "reference": "712a6be217b6f046095e8548cfb50dfbb11e43fe", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/45d3f259c6a80f838317e2f9467af55d9132f058", + "reference": "45d3f259c6a80f838317e2f9467af55d9132f058", "shasum": "" }, "require": { @@ -821,7 +821,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/stable25" }, - "time": "2023-07-12T00:44:30+00:00" + "time": "2023-08-04T00:37:16+00:00" }, { "name": "nikic/php-parser", diff --git a/tests/stub.phpstub b/tests/stub.phpstub index beb692bd7..f101d7563 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -202,11 +202,11 @@ namespace OC\Files { } namespace OC\User { - use OCP\UserInterface; + use OCP\EventDispatcher\IEventDispatcher; use OCP\IUser; - use Symfony\Component\EventDispatcher\EventDispatcherInterface; + use OCP\UserInterface; class User implements IUser { - public function __construct(string $uid, ?UserInterface $backend, EventDispatcherInterface $dispatcher, $emitter = null, IConfig $config = null, $urlGenerator = null) {} + public function __construct(string $uid, ?UserInterface $backend, IEventDispatcher $dispatcher, $emitter = null, IConfig $config = null, $urlGenerator = null) {} } }