Archived
1
0
Fork 0

app/library/Navigation/Node.php: minor change.

This commit is contained in:
Henrik Hautakoski 2018-12-29 00:41:08 +01:00
parent cc08ca1658
commit ca27834a56
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745

View file

@ -183,11 +183,11 @@ class Node extends Container
// Assemble route if set. // Assemble route if set.
if (strlen($this->getRoute()) > 0) { if (strlen($this->getRoute()) > 0) {
$href = array( $href = [
'for' => $this->getRoute(), 'for' => $this->getRoute(),
'controller' => $this->getController(), 'controller' => $this->getController(),
'action' => $this->getAction() 'action' => $this->getAction()
); ];
} }
// Otherwise, use default route. // Otherwise, use default route.
else { else {