diff --git a/engine/kernel/page.php b/engine/kernel/page.php index 86301e3..d7dbd4b 100644 --- a/engine/kernel/page.php +++ b/engine/kernel/page.php @@ -71,7 +71,7 @@ public function content(...$lot) { } public function exist(...$lot) { - return $this->__call('exist', $lot) ?? $this->_exist(); + return $this->lot['exist'] ?? $this->_exist(...$lot); } public function getIterator(): \Traversable { @@ -96,7 +96,7 @@ public function jsonSerialize() { } public function name(...$lot) { - return $this->__call('name', $lot) ?? parent::name(...$lot); + return $this->lot['name'] ?? parent::name(...$lot); } #[\ReturnTypeWillChange]