Skip to content

Commit 3cf173e

Browse files
Arman-Hosseininicolas-grekas
authored andcommitted
Improve some URLs
1 parent d10a8b1 commit 3cf173e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Constraints/AbstractComparisonValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function validate($value, Constraint $constraint)
6464
// Convert strings to DateTimes if comparing another DateTime
6565
// This allows to compare with any date/time value supported by
6666
// the DateTime constructor:
67-
// http://php.net/manual/en/datetime.formats.php
67+
// https://php.net/datetime.formats
6868
if (\is_string($comparedValue)) {
6969
if ($value instanceof \DateTimeImmutable) {
7070
// If $value is immutable, convert the compared value to a

Constraints/RangeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function validate($value, Constraint $constraint)
4848
// Convert strings to DateTimes if comparing another DateTime
4949
// This allows to compare with any date/time value supported by
5050
// the DateTime constructor:
51-
// http://php.net/manual/en/datetime.formats.php
51+
// https://php.net/datetime.formats
5252
if ($value instanceof \DateTimeInterface) {
5353
if (\is_string($min)) {
5454
$min = new \DateTime($min);

Tests/Constraints/IpValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public function getInvalidReservedIpsV6()
330330
{
331331
// Quoting after official filter documentation:
332332
// "FILTER_FLAG_NO_RES_RANGE = This flag does not apply to IPv6 addresses."
333-
// Full description: http://php.net/manual/en/filter.filters.flags.php
333+
// Full description: https://php.net/filter.filters.flags
334334
return $this->getInvalidIpsV6();
335335
}
336336

0 commit comments

Comments
 (0)