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

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'prolic/navigation'
Browse files Browse the repository at this point in the history
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Container.php
Original file line number Diff line number Diff line change
@@ -367,7 +367,7 @@ public function __call($method, $arguments)
throw new Exception\BadMethodCallException(
sprintf(
'Bad method call: Unknown method %s::%s',
get_class($this),
get_called_class(),
$method
)
);
2 changes: 1 addition & 1 deletion src/Page/AbstractPage.php
Original file line number Diff line number Diff line change
@@ -1142,7 +1142,7 @@ public function toArray()
'privilege' => $this->getPrivilege(),
'active' => $this->isActive(),
'visible' => $this->isVisible(),
'type' => get_class($this),
'type' => get_called_class(),
'pages' => parent::toArray(),
));
}

0 comments on commit 47eb5a8

Please sign in to comment.