Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4246'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AbstractContainer.php
Expand Up @@ -353,7 +353,7 @@ public function __call($method, $arguments)
if (!$result) {
throw new Exception\BadMethodCallException(sprintf(
'Bad method call: Unknown method %s::%s',
get_called_class(),
get_class($this),
$method
), 0, $error);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Page/AbstractPage.php
Expand Up @@ -1129,7 +1129,7 @@ public function toArray()
'privilege' => $this->getPrivilege(),
'active' => $this->isActive(),
'visible' => $this->isVisible(),
'type' => get_called_class(),
'type' => get_class($this),
'pages' => parent::toArray(),
));
}
Expand Down

0 comments on commit 0102405

Please sign in to comment.