Skip to content

Commit 1dccdb8

Browse files
Merge branch '4.4'
* 4.4: [Intl] use strict comparisons Fix s-maxage=3 transient test
2 parents 6a66c22 + c4f893a commit 1dccdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NumberFormatter/NumberFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function format($value, int $type = self::TYPE_DEFAULT)
364364
}
365365

366366
// Only the default type is supported.
367-
if (self::TYPE_DEFAULT != $type) {
367+
if (self::TYPE_DEFAULT !== $type) {
368368
throw new MethodArgumentValueNotImplementedException(__METHOD__, 'type', $type, 'Only TYPE_DEFAULT is supported');
369369
}
370370

0 commit comments

Comments
 (0)