File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -305,9 +305,8 @@ is_granted
305305 **type **: ``string ``
306306
307307Returns ``true `` if the current user has the given role. If several roles are
308- passed in an array, returns ``true `` if the user has all of them or at least one
309- of them, depending on the value of this option:
310- :ref: `security.access_decision_manager.strategy <security-voters-change-strategy >`.
308+ passed in an array, ``true `` is returned if the user has at least one of
309+ them.
311310
312311Optionally, an object can be passed to be used by the voter. More information
313312can be found in :ref: `security-template `.
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ will share identical locators amongst all the services referencing them::
375375 'logger' => new Reference('logger'),
376376 );
377377
378- $myService->addArgument(ServiceLocatorTagPass::register($locateableServices));
378+ $myService->addArgument(ServiceLocatorTagPass::register($container, $ locateableServices));
379379 }
380380
381381.. _`Command pattern` : https://en.wikipedia.org/wiki/Command_pattern
You can’t perform that action at this time.
0 commit comments