mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-30 14:40:03 +00:00
Addressed phpstan cases
This commit is contained in:
parent
ef11100863
commit
c3f7b39a0f
2 changed files with 3 additions and 1 deletions
app/Entities/Tools
|
@ -24,7 +24,7 @@ class BookSortMap
|
|||
|
||||
public static function fromJson(string $json): self
|
||||
{
|
||||
$map = new static();
|
||||
$map = new BookSortMap();
|
||||
$mapData = json_decode($json);
|
||||
|
||||
foreach ($mapData as $mapDataItem) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue