Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 3f2c23ab96 - Show all commits

View File

@ -2,10 +2,12 @@
## Version 5 ## Version 5
* Updated PHP requirement to 7.4 * Updated PHP requirement to 7.4
* Added anime history view
## Version 4.2 ## Version 4.2
* Updated dependencies * Updated dependencies
* Updated PHP requirement to 7.3 * Updated PHP requirement to 7.3
* Added option to automatically set dark mode based on the OS setting
## Version 4.1 ## Version 4.1
* Added optional dark theme * Added optional dark theme

View File

@ -69,12 +69,12 @@ class AnimeHistoryTransformer {
protected function aggregate (array $singles): array protected function aggregate (array $singles): array
{ {
$output = []; $output = [];
$prevTitle = '';
$count = count($singles); $count = count($singles);
for ($i = 0; $i < $count; $i++) for ($i = 0; $i < $count; $i++)
{ {
$entry = $singles[$i]; $entry = $singles[$i];
$prevTitle = $entry['title'];
$nextId = $i + 1; $nextId = $i + 1;
if ($nextId < $count) if ($nextId < $count)
{ {