@@ -28,7 +28,6 @@ |
||
28 | 28 | use OCP\IL10N; |
29 | 29 | use OCP\IUser; |
30 | 30 | use OCP\IUserManager; |
31 | -use OCP\Util; |
|
32 | 31 | use Symfony\Component\EventDispatcher\EventDispatcher; |
33 | 32 | use Symfony\Component\EventDispatcher\GenericEvent; |
34 | 33 |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | |
98 | 98 | /** |
99 | 99 | * rename/move versions of renamed/moved files |
100 | - * @param array $params array with oldpath and newpath |
|
100 | + * @param GenericEvent $params array with oldpath and newpath |
|
101 | 101 | * |
102 | 102 | * This function is connected to the rename signal of OC_Filesystem and adjust the name and location |
103 | 103 | * of the stored versions along the actual file |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | |
118 | 118 | /** |
119 | 119 | * copy versions of copied files |
120 | - * @param array $params array with oldpath and newpath |
|
120 | + * @param GenericEvent $params array with oldpath and newpath |
|
121 | 121 | * |
122 | 122 | * This function is connected to the copy signal of OC_Filesystem and copies the |
123 | 123 | * the stored versions to the new location |
@@ -29,7 +29,7 @@ |
||
29 | 29 | class Updater { |
30 | 30 | |
31 | 31 | /** |
32 | - * @param array $params |
|
32 | + * @param GenericEvent $params |
|
33 | 33 | */ |
34 | 34 | static public function renameHook(GenericEvent $params) { |
35 | 35 | if ($params->getArgument('processPostEvent') === true) { |