mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-01-11 15:18:44 +00:00
fix phpstan lvl 9 bugs
This commit is contained in:
parent
94d2e76016
commit
da98703eee
|
|
@ -57,7 +57,9 @@ class BaseView extends View
|
|||
return '';
|
||||
}
|
||||
|
||||
/** @var array{0:Calendar} $data */
|
||||
$this->calendar = $data[0];
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,9 @@ class BaseView extends View
|
|||
*/
|
||||
public function render(mixed ...$data) : string
|
||||
{
|
||||
/** @var array{0:string} $data */
|
||||
$this->id = $data[0];
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user