@@ -26,7 +26,7 @@ |
||
| 26 | 26 | public function getBooksByEra(string $eraId): array |
| 27 | 27 | { |
| 28 | 28 | /** @var Book[] $books */ |
| 29 | - $books = array_filter($this->getBooks(), static function (Book $book) use ($eraId): bool { |
|
| 29 | + $books = array_filter($this->getBooks(), static function(Book $book) use ($eraId): bool { |
|
| 30 | 30 | return $book->getChronologicalMarker()->getEra()->getId() === $eraId; |
| 31 | 31 | }); |
| 32 | 32 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | // Replace the suffixes |
| 48 | 48 | return (string) preg_replace_callback( |
| 49 | 49 | '# ([AB]BY)#', |
| 50 | - static function ($matches) use ($suffixes) { |
|
| 50 | + static function($matches) use ($suffixes) { |
|
| 51 | 51 | return $suffixes[$matches[1]]; |
| 52 | 52 | }, |
| 53 | 53 | $date |