Skip to content

Commit 68e5c6f

Browse files
mvoriseknicolas-grekas
authored andcommitted
Fix "can not" spelling
1 parent d62f1e7 commit 68e5c6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DateFormatter/DateFormat/FullTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private function formatReplace(string $dateChars, \DateTime $dateTime): string
120120
*
121121
* @return int|false The corresponding Unix timestamp
122122
*
123-
* @throws \InvalidArgumentException When the value can not be matched with pattern
123+
* @throws \InvalidArgumentException When the value cannot be matched with pattern
124124
*/
125125
public function parse(\DateTime $dateTime, string $value)
126126
{

DateFormatter/DateFormat/TimezoneTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function extractDateOptions(string $matched, int $length): array
9797
* @see https://php.net/timezones.others
9898
*
9999
* @throws NotImplementedException When the GMT time zone have minutes offset different than zero
100-
* @throws \InvalidArgumentException When the value can not be matched with pattern
100+
* @throws \InvalidArgumentException When the value cannot be matched with pattern
101101
*/
102102
public static function getEtcTimeZoneId(string $formattedTimeZone): string
103103
{

0 commit comments

Comments
 (0)