8000 [Validator] Fixed time constraint (support formats H, H:i and H:i:s) by bes89 · Pull Request #11821 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Fixed time constraint (support formats H, H:i and H:i:s) #11821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
8000 Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed coding standard and php doc/type issues
  • Loading branch information
bes89 committed Sep 1, 2014
commit dec3ddb7b78cd85fe15dadf4404217ba079d5495
6 changes: 3 additions & 3 deletions src/Symfony/Component/Validator/Constraints/TimeValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class TimeValidator extends ConstraintValidator
{
/**
* {@inheritDoc}
* {@inheritdoc}
*/
public function validate($value, Constraint $constraint)
{
Expand Down Expand Up @@ -51,8 +51,8 @@ public function validate($value, Constraint $constraint)
/**
* Returns the regex pattern for validating
*
* @param Boolean $withMinutes
* @param Boolean $withSeconds
* @param bool $withMinutes
* @param bool $withSeconds
* @return string
*/
protected function getPattern($withMinutes, $withSeconds)
Expand Down
0