Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit acf7dce

Browse files
committed
[VarDumper] rename method
1 parent c8ddfea commit acf7dce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/VarDumper/Caster/IntlCaster.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static function castMessageFormatter(\MessageFormatter $c, array $a, Stub
2626
Caster::PREFIX_VIRTUAL.'pattern' => $c->getPattern(),
2727
);
2828

29-
return self::dumpError($c, $a);
29+
return self::castError($c, $a);
3030
}
3131

3232
public static function castNumberFormatter(\NumberFormatter $c, array $a, Stub $stub, $isNested, $filter = 0)
@@ -39,7 +39,7 @@ public static function castNumberFormatter(\NumberFormatter $c, array $a, Stub $
3939
if ($filter & Caster::EXCLUDE_VERBOSE) {
4040
$stub->cut += 3;
4141

42-
return self::dumpError($c, $a);
42+
return self::castError($c, $a);
4343
}
4444

4545
$a += array(
@@ -103,10 +103,10 @@ public static function castNumberFormatter(\NumberFormatter $c, array $a, Stub $
103103
),
104104
);
105105

106-
return self::dumpError($c, $a);
106+
return self::castError($c, $a);
107107
}
108108

109-
private static function dumpError($c, array $a): array
109+
private static function castError($c, array $a): array
110110
{
111111
if ($errorCode = $c->getErrorCode()) {
112112
$a += array(

0 commit comments

Comments
 (0)