mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 05:38:39 +00:00
Typehint fix
This commit is contained in:
parent
cbc6205bf7
commit
56a29501ce
|
|
@ -184,7 +184,7 @@ abstract class ViewAbstract implements \Serializable
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function addView(string $id, View $view, int $order = 0, bool $overwrite = true)
|
public function addView(string $id, View $view, int $order = 0, bool $overwrite = true) /* : void */
|
||||||
{
|
{
|
||||||
if ($overwrite || !isset($this->views[$id])) {
|
if ($overwrite || !isset($this->views[$id])) {
|
||||||
$this->views[$id] = $view;
|
$this->views[$id] = $view;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user