WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit ac2aac5

Browse files
committed
Fix failings tests
1 parent 05674bf commit ac2aac5

File tree

4 files changed

+320
-129
lines changed

4 files changed

+320
-129
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ Tests/reports/
3535
.idea/*
3636
*.iml
3737
*~
38+
39+
.php-version

Content/Application/ContentResolver/Resolver/ExcerptResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected function getFormKey(): string
6363
* excerptMore: string|null,
6464
* excerptDescription: string|null,
6565
* excerptCategories: int[],
66-
* excerptTags: int[],
66+
* excerptTags: string[],
6767
* excerptIcon: array{id: int}|null,
6868
* excerptImage: array{id: int}|null
6969
* }
@@ -79,7 +79,7 @@ protected function getExcerptData(ExcerptInterface $dimensionContent): array
7979
$dimensionContent->getExcerptCategories()
8080
),
8181
'excerptTags' => \array_map(
82-
fn (TagInterface $tag) => $tag->getId(), $dimensionContent->getExcerptTags()
82+
fn (TagInterface $tag) => $tag->getName(), $dimensionContent->getExcerptTags()
8383
),
8484
'excerptIcon' => $dimensionContent->getExcerptIcon(),
8585
'excerptImage' => $dimensionContent->getExcerptImage(),

0 commit comments

Comments
 (0)