Skip to content

Commit 5830d72

Browse files
BurntimeXdtdesign
andauthored
Apply suggestions from code review
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
1 parent de71585 commit 5830d72

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

com.woltlab.wcf/templates/deletedItemsBox.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<nav>
66
<ul class="boxMenu">
77
{foreach from=$types item=type}
8-
<li{if $type->id == $activeId} class="active"{/if}>
8+
<li{if $type->id === $activeId} class="active"{/if}>
99
<a class="boxMenuLink" href="{$type->link}">{lang}{$type->languageItem}{/lang}</a>
1010
</li>
1111
{/foreach}

wcfsetup/install/files/lib/event/moderation/DeletedItemsCollecting.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
final class DeletedItemsCollecting implements IPsr14Event
2020
{
2121
/**
22-
* @var DeletedItems[]
22+
* @var list<DeletedItems>
2323
*/
2424
private array $types = [];
2525

@@ -34,7 +34,7 @@ public function register(DeletedItems $type): void
3434
}
3535

3636
/**
37-
* @return DeletedItems[]
37+
* @return list<DeletedItems>
3838
*/
3939
public function getTypes(): array
4040
{

wcfsetup/install/files/lib/system/moderation/DeletedItemsBoxComponent.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function render(): string
3333
}
3434

3535
/**
36-
* @return DeletedItems[]
36+
* @return list<DeletedItems>
3737
*/
3838
private function getTypes(): array
3939
{

0 commit comments

Comments
 (0)