Skip to content

Commit

Permalink
Merge pull request #49518 from nextcloud/bugfix/noid/activity-logs
Browse files Browse the repository at this point in the history
fix(activity): Fix activity object type warnings
  • Loading branch information
nickvergessen authored Nov 27, 2024
2 parents 5e785fb + d1e17e7 commit 6230849
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/settings/lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,20 +129,20 @@ protected function getParameters(IEvent $event): array {
return [
'token' => [
'type' => 'highlight',
'id' => $event->getObjectId(),
'id' => (string)$event->getObjectId(),
'name' => $parameters['name'],
]
];
case self::APP_TOKEN_RENAMED:
return [
'token' => [
'type' => 'highlight',
'id' => $event->getObjectId(),
'id' => (string)$event->getObjectId(),
'name' => $parameters['name'],
],
'newToken' => [
'type' => 'highlight',
'id' => $event->getObjectId(),
'id' => (string)$event->getObjectId(),
'name' => $parameters['newName'],
]
];
Expand Down
2 changes: 1 addition & 1 deletion lib/public/TaskProcessing/ISynchronousProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface ISynchronousProvider extends IProvider {
* @param callable(float):bool $reportProgress Report the task progress. If this returns false, that means the task was cancelled and processing should be stopped.
* @psalm-return array<string, list<numeric|string>|numeric|string>
* @throws ProcessingException
*@since 30.0.0
* @since 30.0.0
*/
public function process(?string $userId, array $input, callable $reportProgress): array;
}

0 comments on commit 6230849

Please sign in to comment.