@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | $size = 75.0 + 125.0 * ($count - $minimum) / ($maximum - $minimum); |
58 | 58 | } |
59 | 59 | |
60 | - $tag = ($module instanceof ModuleListInterface)?'a':'span'; |
|
61 | - $html .= '<'.$tag.' style="font-size:' . $size . '%"'; |
|
60 | + $tag = ($module instanceof ModuleListInterface) ? 'a' : 'span'; |
|
61 | + $html .= '<' . $tag . ' style="font-size:' . $size . '%"'; |
|
62 | 62 | if ($module instanceof ModuleListInterface) { |
63 | 63 | $url = $module->listUrl($tree, ['surname' => $surn]); |
64 | 64 | $html .= ' href="' . e($url) . '"'; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } else { |
70 | 70 | $html .= $spfxsurn; |
71 | 71 | } |
72 | - $html .= '</'.$tag.'> '; |
|
72 | + $html .= '</' . $tag . '> '; |
|
73 | 73 | } |
74 | 74 | } |
75 | 75 | |
@@ -101,12 +101,12 @@ discard block |
||
101 | 101 | } |
102 | 102 | // If all the surnames are just case variants, then merge them into one |
103 | 103 | // Comment out this block if you want SMITH listed separately from Smith |
104 | - $tag = ($module instanceof ModuleListInterface)?'a':'span'; |
|
105 | - $subhtml = '<'.$tag; |
|
104 | + $tag = ($module instanceof ModuleListInterface) ? 'a' : 'span'; |
|
105 | + $subhtml = '<' . $tag; |
|
106 | 106 | if ($url !== null) { |
107 | 107 | $subhtml .= ' href="' . e($url) . '"'; |
108 | 108 | } |
109 | - $subhtml .= ' dir="auto">' . e(implode(I18N::$list_separator, array_keys($surns))) . '</'.$tag.'>'; |
|
109 | + $subhtml .= ' dir="auto">' . e(implode(I18N::$list_separator, array_keys($surns))) . '</' . $tag . '>'; |
|
110 | 110 | |
111 | 111 | if ($totals) { |
112 | 112 | $subtotal = 0; |
@@ -550,7 +550,7 @@ |
||
550 | 550 | { |
551 | 551 | return $this->all() |
552 | 552 | ->filter($this->enabledFilter($include_disabled)) |
553 | - ->filter(function (ModuleInterface $module) use ($module_name): bool { |
|
553 | + ->filter(function (ModuleInterface $module) use ($module_name) : bool { |
|
554 | 554 | return $module->name() === $module_name; |
555 | 555 | }) |
556 | 556 | ->first(); |