Skip to content

Commit

Permalink
pkp#8933 Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Jun 2, 2023
1 parent 16cef3c commit cc86ccb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion classes/announcement/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function validate(?Announcement $object, array $props, array $allowedLoca
]
);

// Check required fields if we're adding a context
// Check required fields
ValidatorFactory::required(
$validator,
$object,
Expand Down
2 changes: 1 addition & 1 deletion classes/category/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function validate(?Category $object, array $props, array $allowedLocales,
[]
);

// Check required fields if we're adding a context
// Check required fields
ValidatorFactory::required(
$validator,
$object,
Expand Down
2 changes: 1 addition & 1 deletion classes/galley/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function validate(?Galley $object, array $props, array $allowedLocales, s
]
);

// Check required fields if we're adding a context
// Check required fields
ValidatorFactory::required(
$validator,
$object,
Expand Down
2 changes: 1 addition & 1 deletion classes/log/event/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function validate(?EventLogEntry $object, array $props, array $allowedLoc
$this->schemaService->getValidationRules($this->dao->schema, $allowedLocales)
);

// Check required fields if we're adding a context
// Check required fields
ValidatorFactory::required(
$validator,
$object,
Expand Down
2 changes: 1 addition & 1 deletion classes/submissionFile/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function validate(
[]
);

// Check required fields if we're adding a context
// Check required fields
ValidatorFactory::required(
$validator,
$object,
Expand Down

0 comments on commit cc86ccb

Please sign in to comment.