@@ -201,9 +201,9 @@ abstract class NumberFormatter
201201 * @see https://php.net/round
202202 */
203203 private static $ phpRoundingMap = [
204- self ::ROUND_HALFDOWN => \ PHP_ROUND_HALF_DOWN ,
205- self ::ROUND_HALFEVEN => \ PHP_ROUND_HALF_EVEN ,
206- self ::ROUND_HALFUP => \ PHP_ROUND_HALF_UP ,
204+ self ::ROUND_HALFDOWN => PHP_ROUND_HALF_DOWN ,
205+ self ::ROUND_HALFEVEN => PHP_ROUND_HALF_EVEN ,
206+ self ::ROUND_HALFUP => PHP_ROUND_HALF_UP ,
207207 ];
208208
209209 /**
@@ -354,7 +354,7 @@ public function format($value, int $type = self::TYPE_DEFAULT)
354354 {
355355 // The original NumberFormatter does not support this format type
356356 if (self ::TYPE_CURRENCY === $ type ) {
357- trigger_error (__METHOD__ .'(): Unsupported format type ' .$ type , \ E_USER_WARNING );
357+ trigger_error (__METHOD__ .'(): Unsupported format type ' .$ type , E_USER_WARNING );
358358
359359 return false ;
360360 }
@@ -508,7 +508,7 @@ public function parseCurrency(string $value, string &$currency, int &$position =
508508 public function parse (string $ value , int $ type = self ::TYPE_DOUBLE , int &$ position = 0 )
509509 {
510510 if (self ::TYPE_DEFAULT === $ type || self ::TYPE_CURRENCY === $ type ) {
511- trigger_error (__METHOD__ .'(): Unsupported format type ' .$ type , \ E_USER_WARNING );
511+ trigger_error (__METHOD__ .'(): Unsupported format type ' .$ type , E_USER_WARNING );
512512
513513 return false ;
514514 }
0 commit comments