Skip to content

Commit

Permalink
add single quotes to ucword
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 23, 2023
1 parent 69f3ef9 commit fc0bd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function setPublishDate(?\DateTimeInterface $publishDate): static
public function getAuthors(): array
{
return array_map(static function ($item) {
return ucwords(strtolower($item, self::UCWORDS_SEPARATORS));
return ucwords(strtolower($item), self::UCWORDS_SEPARATORS);
}, $this->authors);
}

Expand Down

0 comments on commit fc0bd21

Please sign in to comment.