Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
e257996a
Commit
e257996a
authored
Oct 01, 2013
by
Bertrand Gauthier
Browse files
Simplification.
parent
d1041cbe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Provider/Identity/ChainEvent.php
View file @
e257996a
...
...
@@ -40,9 +40,7 @@ class ChainEvent extends Event
*/
public
function
addRoles
(
array
$roles
=
array
())
{
foreach
(
$roles
as
$role
)
{
$this
->
roles
[]
=
$role
;
}
$this
->
roles
=
array_merge
(
$this
->
roles
,
$roles
);
return
$this
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment