Addressed phpstan cases
This commit is contained in:
parent
ef11100863
commit
c3f7b39a0f
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue