bug #6 Bug fix (slmcncb)
bug #6 Bug fix (slmcncb)

This PR was merged into the master branch.

Discussion
----------

Bug fix

https://github.com/EasyCorp/easy-security-bundle/commit/e4cc0a3d498f9b6ac075fc5fcfabda584cedbdbd#diff-a250e7565daed7b88f994541e152e67cR37

Error:
```
Type error: Argument 5 passed to EasyCorp\Bundle\EasySecurityBundle\Security\Security::__construct() must be an instance of Symfony\Component\Security\Core\Role\RoleHierarchy, instance of Symfony\Component\HttpFoundation\Session\Session given, called in /var/www/winlytics/var/cache/dev/appDevDebugProjectContainer.php on line 2636
```

Commits
-------

a4d7eeb Update services.xml

EasyCorp/easy-security-bundle