Commit 3b526e83 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Use values for link types

With #92715 the structure of the link types array
was unified to always use the types as array values.

This patch adjusts a forgotten place, which still
used the keys and therefore no longer worked
since the mentioned patch.

Resolves: #98335
Related: #92715
Releases: main, 11.5
Change-Id: I4b3badeba4ee436464a2dc6f2ceaf1a96212adf8

Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Stefan Bürk's avatarStefan Bürk <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent 5ee75580
......@@ -216,7 +216,7 @@ class LinkAnalyzerResult
protected function processLinkCounts(array $linkTypes): self
foreach (array_keys($linkTypes) as $linkType) {
foreach ($linkTypes as $linkType) {
if (!isset($this->newBrokenLinkCounts[$linkType])) {
$this->newBrokenLinkCounts[$linkType] = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment