Skip to content

Conversation

@adamelso
Copy link
Contributor

One of the code snippets uses $request->attributes->add('_controller', '...');

This is invalid since this expects an array of multiple attributes.

I've corrected the example to use the set method.

$request->attributes->set('_controller', '...'); 
$request->attributes->add('_controller', '...'); is invalid since this expects an array of multiple attributes. Instead the example will use the set method.
@adamelso
Copy link
Contributor Author

Actually never mind, this has been submitted already :)

#3891

@adamelso adamelso closed this May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant