silexphp / Silex-WebProfiler

MIT License
210 stars 61 forks source link

Instance RoleHierarchy when have security.role_hierarchy #97

Closed sergiors closed 8 years ago

sergiors commented 8 years ago

\cc @fabpot

mvanbaak commented 8 years ago

This fixes: Catchable fatal error: Argument 2 passed to Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector::__construct() must implement interface Symfony\Component\Security\Core\Role\RoleHierarchyInterface, array given

fabpot commented 8 years ago

Thank you @sergiors.