aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2025-05-14 15:51:42 +0200
committerprovokateurin <kate@provokateurin.de>2025-05-15 00:16:54 +0200
commit82fb8f850828d24f551ad5ef3b8523486e5104df (patch)
tree4b7bf5bcd5e8f37b1a70a9dec1f80729b97ef6e6 /core/Application.php
parentc3ddd1da46c9f75071f61d3cf7381570297a74d6 (diff)
downloadnextcloud-server-refactor/rector-core.tar.gz
nextcloud-server-refactor/rector-core.zip
refactor: Extend rector to core/refactor/rector-core
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Application.php b/core/Application.php
index cc84f191330..17640f2ce0d 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -54,7 +54,7 @@ class Application extends App {
$notificationManager->registerNotifierService(CoreNotifier::class);
$notificationManager->registerNotifierService(AuthenticationNotifier::class);
- $eventDispatcher->addListener(AddMissingIndicesEvent::class, function (AddMissingIndicesEvent $event) {
+ $eventDispatcher->addListener(AddMissingIndicesEvent::class, function (AddMissingIndicesEvent $event): void {
$event->addMissingIndex(
'share',
'share_with_index',
@@ -244,7 +244,7 @@ class Application extends App {
);
});
- $eventDispatcher->addListener(AddMissingPrimaryKeyEvent::class, function (AddMissingPrimaryKeyEvent $event) {
+ $eventDispatcher->addListener(AddMissingPrimaryKeyEvent::class, function (AddMissingPrimaryKeyEvent $event): void {
$event->addMissingPrimaryKey(
'federated_reshares',
'federated_res_pk',