NOW MANAGED ON CODEBERG
Addressed phpstan cases
Dan Brownc3f7b39a0f3d
diff --git a/app/Entities/Tools/BookSortMap.php b/app/Entities/Tools/BookSortMap.phpindex 43b25817e..ff1ec767f 100644--- a/app/Entities/Tools/BookSortMap.php+++ b/app/Entities/Tools/BookSortMap.php@@ -24,7 +24,7 @@ class BookSortMappublic static function fromJson(string $json): self{- $map = new static();+ $map = new BookSortMap();$mapData = json_decode($json);foreach ($mapData as $mapDataItem) {diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.phpindex f836f18ed..2c4c2df1e 100644--- a/app/Http/Controllers/Controller.php+++ b/app/Http/Controllers/Controller.php@@ -48,6 +48,8 @@ abstract class Controller extends BaseController/*** On a permission error redirect to home and display.* the error as a notification.+ *+ * @return never*/protected function showPermissionError(){