Logo
Explore Help
Register Sign In
starred/BookStack
1
0
Fork 0
You've already forked BookStack
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-07-16 05:33:49 +03:00
Code Issues 784 Packages Projects Releases 25 Wiki Activity
Files
79a2e017bbf5d4d634e890199e3267d9280f1db1
BookStack/app/Sorting/BookSortMapItem.php

16 lines
265 B
PHP
Raw Normal View History

Refactored sort system a little To standardise the handled data format a little better.
2022-01-04 17:31:57 +00:00
<?php
Sorting: Reorganised book sort code to its own directory
2025-01-29 16:40:11 +00:00
namespace BookStack\Sorting;
Refactored sort system a little To standardise the handled data format a little better.
2022-01-04 17:31:57 +00:00
class BookSortMapItem
{
Maintenance: Fixed type and CI issues - Fixed issues picked up by PHPStan updates. - Not sure why it was flagging the BookSorter issue, but swapping if statements made it go away. - Updated BookSortMapItem with modern syntax. - Attempted to fix CI issues by adding DOM extension. - Attempted to make migration CI more efficient via tmpfs
2026-06-11 14:24:09 +01:00
public function __construct(
public int $id,
public int $sort,
public int|null $parentChapterId,
public string $type,
public int $parentBookId,
) {
Refactored sort system a little To standardise the handled data format a little better.
2022-01-04 17:31:57 +00:00
}
Applied latest styleCI changes
2022-01-06 12:18:11 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 192ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API