Mild code cleanup.

This commit is contained in:
James Cole
2024-11-06 12:01:29 +01:00
parent c398383905
commit b2d4469908
18 changed files with 40 additions and 39 deletions

View File

@@ -109,6 +109,7 @@ class IsUniqueAccount implements ValidationRule, DataAwareRule
{
if (!array_key_exists('user_id', $this->data)) {
$this->fail('No user ID provided.');
return false;
}