From 7ae82858119c1a6de056b7c63a88f3bd83ea88ec Mon Sep 17 00:00:00 2001 From: Erik Saunier Date: Tue, 21 Oct 2014 11:31:13 +0200 Subject: [PATCH] Missing space --- cookbook/security/voters_data_permission.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/security/voters_data_permission.rst b/cookbook/security/voters_data_permission.rst index 071f3733176..7359b0b27cb 100644 --- a/cookbook/security/voters_data_permission.rst +++ b/cookbook/security/voters_data_permission.rst @@ -96,7 +96,7 @@ edit a particular object. Here's an example implementation:: // check if the voter is used correct, only allow one attribute // this isn't a requirement, it's just one easy way for you to // design your voter - if(1 !== count($attributes)) { + if (1 !== count($attributes)) { throw new \InvalidArgumentException( 'Only one attribute is allowed for VIEW or EDIT' );