From b1179c9bbe8e8d6c8d989311c0766c4cc4a00abf Mon Sep 17 00:00:00 2001
From: HeahDude <heah@heahprod.com>
Date: Sun, 26 Mar 2017 17:13:23 +0200
Subject: [PATCH] [Validation Constraint References] Fixed Collection model
 example

---
 reference/constraints/Collection.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reference/constraints/Collection.rst b/reference/constraints/Collection.rst
index 733b3b9144b..39f2b91ed6b 100644
--- a/reference/constraints/Collection.rst
+++ b/reference/constraints/Collection.rst
@@ -38,8 +38,8 @@ of a collection individually. Take the following example::
     class Author
     {
         protected $profileData = array(
-            'personal_email',
-            'short_bio',
+            'personal_email' => '',
+            'short_bio' => '',
         );
 
         public function setProfileData($key, $value)
@@ -80,8 +80,8 @@ following:
              * )
              */
              protected $profileData = array(
-                 'personal_email',
-                 'short_bio',
+                 'personal_email' => '',
+                 'short_bio' => '',
              );
         }