Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/orm/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ construction process into multiple reusable steps::

// UsersTable.php

public function validateDefault(Validator $validator)
public function validationDefault(Validator $validator)
{
$validator->notEmpty('username');
$validator->notEmpty('password');
Expand All @@ -175,7 +175,7 @@ construction process into multiple reusable steps::
return $validator;
}

public function validateHardened(Validator $validator)
public function validationHardened(Validator $validator)
{
$validator = $this->validateDefault($validator);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks still wrong though

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix it post merge.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

b3ec4c6 has the fixes. I did french as well.


Expand Down