🏷 Add types
All checks were successful
Deploy / deploy (push) Successful in 3s

This commit is contained in:
Marcel Kapfer 2025-01-30 19:52:03 +01:00
parent 41640e0b28
commit b36abcd3bf
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
12 changed files with 86 additions and 8 deletions

View file

@ -1,6 +1,8 @@
<?php
return function ($page, $tag, $category) {
use Kirby\Cms\Page;
return function (Page $page, ?string $tag, ?string $category): array {
$articles = $page->children()->listed();
if ($tag) {