Skip to content

Commit

Permalink
Fixed error in SilexBreadCrumbsTrail
Browse files Browse the repository at this point in the history
  • Loading branch information
rtens committed Mar 3, 2016
1 parent c591fe0 commit 34d9dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/delivery/web/adapters/silex/SilexBreadCrumbsTrail.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private function readCrumbs(ParameterBag $cookies) {
$serialized = json_decode($cookies->get(self::COOKIE_NAME), true);
return array_map(function ($item) {
return new BreadCrumb($item['caption'], $item['target']);
}, $serialized);
}, (array)$serialized);
}

public function getCookie() {
Expand Down

0 comments on commit 34d9dcd

Please sign in to comment.