From 8be0fa6572d8f6d6c9bdf7e2556c5068331e134d Mon Sep 17 00:00:00 2001 From: CrochetFeve0251 Date: Fri, 17 Jul 2020 12:30:07 +0200 Subject: [PATCH] Fixed an error in the code of Array/Json Casting Fixed an error in the code of Array/Json Casting that prevent the example to execute --- user_guide_src/source/models/entities.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/models/entities.rst b/user_guide_src/source/models/entities.rst index 096fc72d1aa3..e6b5168e92cc 100644 --- a/user_guide_src/source/models/entities.rst +++ b/user_guide_src/source/models/entities.rst @@ -347,7 +347,7 @@ the value whenever the property is set:: class User extends Entity { - protected $casts => [ + protected $casts = [ 'options' => 'array', 'options_object' => 'json', 'options_array' => 'json-array'