Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1179c9

Browse files
committed
[Validation Constraint References] Fixed Collection model example
1 parent09cc5fc commitb1179c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎reference/constraints/Collection.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ of a collection individually. Take the following example::
3838
class Author
3939
{
4040
protected $profileData = array(
41-
'personal_email',
42-
'short_bio',
41+
'personal_email' => '',
42+
'short_bio' => '',
4343
);
4444

4545
public function setProfileData($key, $value)
@@ -80,8 +80,8 @@ following:
8080
* )
8181
*/
8282
protected $profileData = array(
83-
'personal_email',
84-
'short_bio',
83+
'personal_email' => '',
84+
'short_bio' => '',
8585
);
8686
}
8787

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp