Skip to content

Commit 4006e10

Browse files
refactor: Apply rector changes
Signed-off-by: GitHub <noreply@github.com>
1 parent 168a9c2 commit 4006e10

8 files changed

Lines changed: 16 additions & 374 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"rector": "rector && composer cs:fix"
4444
},
4545
"require-dev": {
46-
"nextcloud/ocp": "dev-master",
4746
"bamarni/composer-bin-plugin": "^1.8"
4847
}
4948
}

composer.lock

Lines changed: 2 additions & 360 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Activity/ProviderParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function setRichSubject(
7171
foreach ($ak as $k) {
7272
$subAk = array_keys($data[$k]);
7373
foreach ($subAk as $sK) {
74-
if (str_starts_with($sK, '_')) {
74+
if (str_starts_with((string)$sK, '_')) {
7575
unset($data[$k][$sK]);
7676
}
7777
}

0 commit comments

Comments
 (0)