mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-07-16 05:33:49 +03:00
- 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
16 lines
265 B
PHP
16 lines
265 B
PHP
<?php
|
|
|
|
namespace BookStack\Sorting;
|
|
|
|
class BookSortMapItem
|
|
{
|
|
public function __construct(
|
|
public int $id,
|
|
public int $sort,
|
|
public int|null $parentChapterId,
|
|
public string $type,
|
|
public int $parentBookId,
|
|
) {
|
|
}
|
|
}
|